home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / emacssrc.zip / EMACSSRC.TAR / emacs-19.17 / src / changelog < prev    next >
Text File  |  1993-07-19  |  699KB  |  18,118 lines

  1. Sun Jul 18 00:17:28 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2.  
  3.     * Version 19.17 released.
  4.  
  5.     * xfns.c (Fx_create_frame): Block input around call to
  6.     x_new_font.  Test if the return value is a string, not if it's
  7.     nil; x_new_font can return things besides nil and strings, to
  8.     indicate error conditions.
  9.  
  10.     * window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
  11.     argument to Qt, instead of trying to typecheck it.
  12.  
  13.     * ymakefile (config_h): Set this to ${srcdir}/config.h; all the
  14.     source dependencies mention $(config_h), but until now it never
  15.     had a value.
  16.  
  17.     * xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE;
  18.     use XrmSetDatabase only when HAVE_X11R5 is defined.
  19.  
  20.     * dispnew.c (direct_output_for_insert): By the time this function
  21.     is called, we have already inserted the character into the buffer;
  22.     the proper buffer position to pass to compute_char_face is point
  23.     - 1, not point.
  24.  
  25. Sat Jul 17 02:45:04 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  26.  
  27.     * Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level
  28.     Makefile.
  29.     (xmakefile): Pass it to the C preprocessor.
  30.  
  31.     * window.c (Fdelete_windows_on): New optional argument FRAME; if
  32.     nil, delete windows on all frames.  If t, delete windows on the
  33.     selected frame only.  If a frame, delete windows on that frame
  34.     only.
  35.  
  36.     * intervals.c (split_interval_left, split_interval_right): Change
  37.     OFFSET argument of these functions to be origin 0, not origin 1.
  38.     This is what all the callers currently want.
  39.     * intervals.c, textprop.c: All callers changed.
  40.  
  41.     * textprop.c (Ftext_property_not_all): Renamed from
  42.     Ftext_property_all, and changed sense of return value, so that it
  43.     returns useful information if not all characters have properties
  44.     EQ to value.  Now all the existential and universal questions can
  45.     be asked.
  46.  
  47.     * textprop.c (syms_of_textprop): Don't forget defsubr for
  48.     Stext_property_all. 
  49.  
  50.     * textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to
  51.     compare property values, not Fequal.
  52.  
  53.     * xterm.c (x_term_init): Adjust message printed when we can't
  54.     connect to the X server.
  55.  
  56.     * xfns.c (Vx_resource_name): Renamed from Vxrdb_name, and made a
  57.     lisp-visible variable, so lisp/term/x-win.el can set it.  Doc it
  58.     for "internal use only"; no need for NEWS entry.
  59.     (validate_x_resource_name): New function.
  60.     (Fx_get_resource): Doc fix.  References to Vxrdb_name renamed.  Call
  61.     validate_x_resource_name.
  62.     (x_window): References to Vxrdb_name renamed.  Call
  63.     validate_x_resource_name.
  64.     (Fx_open_connection): References to Vxrdb_name renamed.  Instead
  65.     of setting and validating its value here, just call
  66.     validate_x_resource_name.
  67.     (syms_of_xfns): Add DEFVAR_LISP for Vx_resource_name.
  68.  
  69. Fri Jul 16 21:43:32 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  70.  
  71.     * keyboard.c (Vhelp_menu_bar_map): Deleted.
  72.     (menu_bar_items): Move elts for events in Vmenu_bar_final_items to end.
  73.     (syms_of_keyboard): Corresponding changes.
  74.  
  75. Thu Jul 15 20:52:15 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  76.  
  77.         Consistently use the mark bit of the root interval's parent field
  78.     to say whether or not the interval tree has been visited (and skip
  79.     it when revisited), and the mark bit of the plist field to say
  80.     whether or not that interval has been visited (and abort if
  81.     revisited); don't try to use the plist mark bit for both
  82.     meanings.
  83.     * alloc.c (mark_interval_tree): Don't test if the interval tree
  84.     has already been visited here; let the MARK_INTERVAL_TREE macro do
  85.     that; avoid function call overhead.  Mark the interval tree as
  86.     having been visited by setting TREE->parent's mark bit.
  87.     (MARK_INTERVAL_TREE): If the tree has been visited (according to
  88.     I->parent's mark bit), don't call mark_interval_tree.
  89.     (gc_sweep): Rebalance the interval trees of those large strings
  90.     which are still alive.  This also clears the mark bits of those
  91.     trees' root intervals' parent fields.
  92.     (compact_strings): Rebalance the interval tree of each small
  93.     strings which is still alive.  This also clears the mark bits of
  94.     that tree's root interval's parent field.  Since the string has
  95.     moved, update the root interval's parent pointer to contain the
  96.     new address.
  97.     * lisp.h (struct interval): Doc fix; explain the roles of the mark
  98.     bits of the parent and plist members.
  99.  
  100.     * termhooks.h: In order to avoid declaring struct input_event
  101.     (which contains Lisp_Objects) in those .c files which need access
  102.     to the terminal hooks but don't #include lisp.h (like cm.c), test
  103.     to see if the macro CONSP is #defined.  We used to test XINT, but
  104.     config.h will #define that everywhere on systems that use tailored
  105.     tagging schemes.
  106.  
  107.     * window.c (Fnext_window, Fprevious_window): Put these docstrings
  108.     in comments; the strings are too long for some C compilers.
  109.  
  110.     * s/hpux9.h: Doc fix.
  111.  
  112. Thu Jul 15 19:05:38 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  113.  
  114.     * ymakefile (DEBUG_MOLE): New variable; a shell expression which
  115.     expands to -DDEBUG_MOLE on HP 9000/300's in the domain
  116.     gnu.ai.mit.edu, and the empty string on all other machines.
  117.     (alloc.o): Cite ${DEBUG_MOLE}, so DEBUG_MOLE is #defined when
  118.     compiling on mole.
  119.  
  120. Thu Jul 15 02:01:59 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  121.  
  122.     * keyboard.c (read_char_menu_prompt): If the user rejects a menu,
  123.     return t.  This makes read_char also return t.
  124.     (read_key_sequence): If read_char returned t, return -1.
  125.     (Fread_key_sequence): If read_key_sequence returned -1, quit.
  126.     (command_loop_1): If read_key_sequence returned -1, loop around.
  127.  
  128. Thu Jul 15 00:56:31 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  129.  
  130.     * keyboard.c (menu_bar_one_keymap): If the key's binding is the
  131.     symbol `undefined', don't try to take that symbol's cdr before
  132.     passing it to menu_bar_item; pass the `undefined' binding itself,
  133.     so menu_bar_item can remove bindings for the same key from result.
  134.  
  135. Wed Jul 14 12:02:17 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  136.  
  137.     * buffer.c (Fbuffer_local_variables): For local var that is unbound,
  138.     put just the symbol in the result, not a cons of (symbol . value).
  139.  
  140.     * keyboard.c (Qdisabled_command_hook): New variable.
  141.     (Vdisabled_command_hook): Deleted.
  142.     (syms_of_keyboard): Corresponding changes.
  143.     (Fcommand_execute): Use Qdisabled_command_hook.
  144.  
  145.     * alloc.c (mark_object) [DEBUG_MOLE]: Add abort at beginning.
  146.  
  147.     * keyboard.c (Vhelp_menu_bar_map): New var.
  148.     (syms_of_keyboard): Set up Lisp var for it.
  149.     (menu_bar_items): Use Vhelp_menu_bar_map.
  150.  
  151. Wed Jul 14 00:14:31 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  152.  
  153.     * textprop.c (Ftext_property_any, Ftext_property_all): New
  154.     functions, from David Gillespie.
  155.     * intervals.h (Ftext_property_any, Ftext_property_all): Declare them.
  156.  
  157.     * keyboard.c (read_key_sequence): Accept both strings and vectors
  158.     as bindings in function-key-map.
  159.         * keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.
  160.  
  161.     * keyboard.c (Fsuspend_emacs): Pass selected_frame as the first
  162.     argument to change_frame_size, not 0.  This function may be called
  163.     in an Emacs compiled with multi-frame support.
  164.  
  165. Tue Jul 13 17:25:32 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  166.  
  167.     * xterm.c (XTread_socket, UnmapNotify case): Add missing comment
  168.     terminator.
  169.  
  170.     * intervals.c (graft_intervals_into_buffer): Properly compute
  171.     length of buffer.
  172.  
  173. Tue Jul 13 17:03:09 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  174.  
  175.     * minibuf.c (Fdisplay_completion_list): Run completion-setup-hook.
  176.  
  177. Mon Jul 12 18:46:17 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  178.  
  179.     * textprop.c (Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars.
  180.     (syms_of_textprop): Set them up.
  181.     * lisp.h (Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.
  182.     (Qmodification_hooks): Declared.
  183.  
  184.     * intervals.c (verify_interval_modification):
  185.     For insertion, run the insert-in-front-hooks and insert-behind-hooks,
  186.     not the modification-hooks.
  187.     * buffer.c (verify_overlay_modification): New function.
  188.     (call_overlay_mod_hooks): New function.
  189.     * insdel.c (prepare_to_modify_buffer): Call that.
  190.  
  191.     * keyboard.c (Qundefined): New variable.
  192.     (syms_of_keyboard): Set up Qundefined.
  193.     (menu_bar_items): Don't reverse the items.
  194.     Process the maps in reverse order.
  195.     (menu_bar_item): If definition is `undefined',
  196.     delete any menu bar item already made, and don't make one.
  197.  
  198. Mon Jul 12 16:41:12 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  199.  
  200.     * print.c (float_to_string): Distinguish between a precision of
  201.     zero and an omitted precision.  Do allow %.0f to produce strings
  202.     containing no decimal point or exponent.
  203.     (syms_of_print): Doc fix for float-output-format.
  204.  
  205.     * xfns.c (x_set_frame_parameters): Don't set the frame's size and
  206.     position unless those parameters are actually specified in ALIST.
  207.  
  208.     * syntax.c (Fmodify_syntax_entry): Doc fix.
  209.  
  210. Mon Jul 12 14:43:38 1993  Frederic Pierresteguy  (F.Pierresteguy@frcl.bull.fr)
  211.  
  212.     * xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
  213.     * m/dpx2.h: New file.
  214.  
  215. Sat Jul 10 19:23:41 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  216.  
  217.     * textprop.c (set_properties): Call modify_region.
  218.     (remove_properties): Call modify_region before record_property_change.
  219.     (add_properties): Likewise.
  220.  
  221. Sat Jul 10 18:49:26 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  222.  
  223.     * xrdb.c: Implement search for app-defaults directory and
  224.     localized default databases, along with some other functionality
  225.     provided by Xt.
  226.     #include <stdio.h>, since we call sprintf.
  227.     [emacs] (malloc, realloc, free): #define these to xmalloc,
  228.     xrealloc, and xfree.
  229.     (x_get_string_resource, file_p): Add forward declarations for
  230.     these.
  231.     (x_customization_string): New variable.
  232.     (x_get_customization_string): New function.
  233.     (gethomedir): Return malloc'ed space of the right size, instead of
  234.     writing into a fixed-size buffer; this means that our callers do
  235.     not impose an arbitrary limit on file name length.
  236.     (magic_file_p): Rewrite of decode_magic; actually do the
  237.     substitutions, instead of expanding all %-escapes to "".  Support
  238.     the customization string.  Return 0 or the expanded file name,
  239.     instead of just zero or one.  Allocate the space for the expanded
  240.     file name ourselves, instead of writing into a fixed-size buffer
  241.     passed to us; this removes an arbitrary limit.
  242.     (search_magic_path): Rewrite of magic_searchpath_decoder.  Return
  243.     0 or the expanded file name, instead of just zero or one.
  244.     Allocate the space for the expanded file name ourselves, instead
  245.     of writing into a fixed-size buffer passed to us; this means that
  246.     our callers do not impose an arbitrary limit on file name length.
  247.     (get_system_app): Changed to work with search_magic_path.
  248.     (get_user_app): Rewritten to work with search_magic_path, and not
  249.     to assume that the values of XAPPLRESDIR is a single directory.
  250.     (get_user_db): Properly use the new version of gethomedir.
  251.     (get_environ_db): Remove arbitrary limit on length of host name.
  252.     (x_load_resources): Take a new argument, myname.  Call get_user_db
  253.     early to obtain the customization string.
  254.     Changes to stand-alone testing code.
  255.     * xfns.c (Fx_open_connection): Set Vxrdb_name early, and pass it
  256.     to x_load_resources.
  257.  
  258.     * keymap.c (syms_of_keymap): Doc fix.
  259.  
  260. Fri Jul  9 17:41:49 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  261.  
  262.     * process.c (wait_reading_process_input): If wait_for_cell, do call
  263.     swallow_events and do_pending_window_change when appropriate.
  264.  
  265. Thu Jul  8 19:45:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  266.  
  267.     * editfns.c (region_limit): Declare Vmark_even_if_inactive.
  268.  
  269.     * callint.c (syms_of_callint):
  270.     Fix DEFVAR_LISP for Vmark_even_if_inactive to use right
  271.     Lisp symbol name (without V prepended).
  272.  
  273. Thu Jul  8 17:43:11 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  274.  
  275.     * callint.c (check_mark): Don't check mark-active unless in
  276.     transient-mark-mode.  
  277.     For inactive mark, signal mark-inactive instead of error with a
  278.     message.
  279.     * editfns.c (region_limit): Don't error if Vmark_even_if_inactive
  280.     is set.
  281.     When the mark is inactive and that is a no-no, signal
  282.     mark-inactive instead of using error with a message.
  283.     * data.c (syms_of_data): Staticpro Qmark_inactive.
  284.     * data.c: Define Qmark_inactive.
  285.     (syms_of_data): Initialize it.
  286.     * lisp.h: Declare Qmark_inactive.
  287.  
  288. Wed Jul  7 03:58:15 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  289.  
  290.     * editfns.c (Fformat): Since floats occupy two elements in the
  291.     argument list passed to doprnt, we must use separate indices for
  292.     the array of arguments passed to Fformat, and the array of
  293.     arguments to be passed to doprnt.
  294.  
  295.     * .gdbinit (xfloat): New command.
  296.  
  297. Tue Jul  6 11:05:14 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  298.  
  299.     * Version 19.16 released.
  300.  
  301.     * ymakefile [not ORDINARY_LINK && __GNUC__ && __GNUC__ > 1 && not
  302.     LIB_GCC] (LIB_GCC): Use "$(CC)" instead of "gcc".
  303.  
  304. Tue Jul  6 01:58:20 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  305.  
  306.         * textprop.c (copy_text_properties): Pass a copy of POS to
  307.     validate_interval_range; that function increments its arguments,
  308.     which isn't what we want.
  309.  
  310.     * fns.c (Fsubstring, concat): Pass all six arguments to
  311.     copy_text_properties.
  312.  
  313.     * intervals.c (find_interval): Doc fixes, computation of
  314.     tree->position rearranged for clarity.
  315.  
  316.     * intervals.c (find_interval): Consistently treat POSITION as an
  317.     actual buffer position, i.e. origin 1.  The old code seemed
  318.     undecided on this point.  Treat the end of the buffer as being
  319.     part of the rightmost interval.
  320.     (adjust_intervals_for_insertion): Consistently treat POSITION as
  321.     origin 1.
  322.     (interval_deletion_adjustment): The exception: FROM should be
  323.     origin zero here.  Consistently treat it as such.  Simplify code
  324.     which shrinks and possibly deletes intervals.
  325.     (adjust_intervals_for_deletion): Treat start as origin 1; our
  326.     caller does.
  327.     (set_point): Use buffer positions throughout, not a mix of buffer
  328.     posns and origin zero posns.
  329.     (get_local_map): Remove special case for POSITION at end of buffer;
  330.     find_interval handles that case correctly.
  331.     (verify_interval_modification): Remove special case for START at
  332.     end of buffer.
  333.     * textprop.c (validate_interval_range): End-of-buffer/string
  334.     positions no longer need special handling.
  335.  
  336.     * intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.
  337.  
  338.     * textprop.c (copy_text_properties): New function, from David
  339.     Gillespie.
  340.     * intervals.h: Declare copy_text_properties.
  341.     * fns.c: #include "intervals.h".
  342.     (Fsubstring): Copy text properties to result string.
  343.     (concat): Copy text properties to result string.
  344.     * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
  345.  
  346.     * print.c: Get rid of extra space at the end of print syntax for
  347.     strings with intervals.
  348.     [USE_TEXT_PROPERTIES] (print): Don't print a space before the
  349.     interval property lists.
  350.     [USE_TEXT_PROPERTIES] (print_interval): Print a space before this
  351.     internal's properties, not after.
  352.  
  353.     * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
  354.     "-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
  355.     files.
  356.     * ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
  357.     oldXMenu make.
  358.  
  359.     * doc.c (Fsubstitute_command_keys): Pass all five arguments to
  360.     describe_map_tree.
  361.  
  362. Mon Jul  5 03:15:17 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  363.  
  364.     Compare the values of text properties using EQ, not Fequal.
  365.     * intervals.c (intervals_equal): Call EQ, not Fequal.
  366.     * textprop.c (interval_has_all_properties, add_properties): Same.
  367.  
  368.     * textprop.c (validate_interval_range): Don't increment both
  369.     *begin and *end if they point to the same thing.
  370.     (validate_plist): Call QUIT while scanning LIST.
  371.  
  372.     * intervals.c (intervals_equal): Test the return value of Fequal
  373.     against Qnil, not 0.
  374.  
  375.     * keyboard.c (Vdouble_click_time): Renamed from double_click_time,
  376.     and made a Lisp_Object instead of an int.  
  377.     (make_lispy_event): If Vdouble_click_time is t, impose no time
  378.     limit on double-clicks.
  379.     (syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
  380.     Vdouble_click_time (not double_click_time), and adjust doc string
  381.     to say that `nil' means no double clicks, and `t' means no time
  382.     limit.
  383.  
  384. Sun Jul  4 16:00:40 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  385.  
  386.     * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
  387.     accessors.
  388.  
  389.     * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
  390.     only needed for misconfigured systems.
  391.  
  392. Sun Jul  4 00:51:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  393.  
  394.     * keymap.c (describe_map_tree): When inserting TITLE, mention PREFIX.
  395.     Insert newline at end, if inserted anything else.
  396.     (describe_buffer_bindings): Corresponding changes.
  397.     For minor mode maps, build up a title string,
  398.     then let describe_map_tree insert it.
  399.  
  400.     * eval.c (Fsignal): Clarify error message.
  401.  
  402. Sat Jul  3 22:19:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  403.  
  404.     * keyboard.c (read_char): After Fgarbage_collect, call redisplay.
  405.  
  406. Sat Jul  3 17:11:19 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  407.  
  408.     * frame.c (Fredirect_frame_focus): Allow redirection of focus of
  409.     dead frames.
  410.  
  411.     * s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
  412.     versions of gethostbyname and such that use the DNS.
  413.  
  414. Sat Jul  3 02:58:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  415.  
  416.     * fileio.c (Frename_file):
  417.     After prompting for ok-if-already-exists, pass only nil or
  418.     t to copy-file, never an integer.
  419.  
  420. Fri Jul  2 23:57:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  421.  
  422.     * keymap.c (Faccessible_keymaps): Doc fix.
  423.  
  424. Fri Jul  2 18:48:58 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  425.  
  426.     * textprop.c (set_properties): Don't try to make undo records if
  427.     OBJECT is a string.
  428.  
  429. Fri Jul  2 01:42:41 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  430.  
  431.     * keyboard.c (read_key_sequence): When inserting `menu-bar' prefix,
  432.     modify the position field to prevent doing so twice.
  433.     Do all these forms of event expansion after replayed events also.
  434.     Set last_real_key_start before each key.
  435.     Use last_real_key_start in criterion for being the first event.
  436.  
  437.     * process.c (wait_reading_process_input): Do include the keyboard
  438.     in the select, if read_kbd was a cons cell.
  439.  
  440. Thu Jul  1 22:25:05 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  441.  
  442.     * xterm.c (XTread_socket): When handing non-synthetic
  443.     ConfigureNotify events, don't refer to the parent window
  444.     descriptor.
  445.  
  446.     * textprop.c (set_properties): Add undo records to remove entirely
  447.     new properties.  Only record old property values for those
  448.     properties whose values have changed.
  449.  
  450. Thu Jul  1 19:56:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  451.  
  452.     * callint.c (Vmark_even_if_inactive): New var, with Lisp variable.
  453.     (check_mark): Use it.
  454.  
  455. Thu Jul  1 00:03:50 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  456.  
  457.     * xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
  458.     <X11/Xos.h>, so that file doesn't try to define struct timeval and
  459.     struct timezone.
  460.  
  461.     * xterm.c (frame_highlight, frame_unhighlight): Don't test
  462.     Vx_no_window_manager.  BLOCK_INPUT around the border manipulation
  463.     calls.
  464.  
  465. Wed Jun 30 16:12:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  466.  
  467.     * xterm.c (XTread_socket): Initialize event_found to zero, and
  468.     pass a zeroed timeout to select, not a null pointer; the latter
  469.     means "wait forever".
  470.  
  471.     * s/hpux8.h (random, srandom): No need to define these to be
  472.     foo_random and foo_srandom; autoconf should autodetect when the
  473.     real random functions are available.
  474.  
  475.     * xdisp.c (redisplay): If we're not already showing the region,
  476.     then don't disable the single-line optimizations just because the
  477.     mark isn't where we last displayed it.
  478.  
  479. Wed Jun 30 13:50:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  480.  
  481.     * keyboard.c (syms_of_keyboard): Doc fix.
  482.     (Vhelp_char): Renamed from help_char.
  483.     (Vprefix_help_command): New Lisp variable.
  484.     (read_key_sequence): Use that, for help char after prefix key.
  485.  
  486.     * keyboard.c (kbd_buffer_get_event):
  487.     Clear f before calling mouse_position_hook.
  488.  
  489.     * emacs.c, callproc.c (PRIO_PROCESS): Definition deleted.
  490.  
  491.     * vm-limit.c (check_memory_limits): Make data_size and five_percent
  492.     unsigned long.
  493.  
  494. Wed Jun 30 00:55:41 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  495.  
  496.     * keyboard.c (kbd_buffer_get_event): Correctly generate
  497.     switch-frame events when reading mouse motion events.
  498.  
  499. Tue Jun 29 19:05:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  500.  
  501.     * xterm.c: Add CPP tangle from process.c to get definitions for
  502.     FD_SET, etcetera.
  503.     (XTread_socket): Use those macros when testing for dropped connection.
  504.  
  505. Tue Jun 29 01:27:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  506.  
  507.     * alloc.c (mark_object): Add aborts in Lisp_Symbol case.
  508.  
  509.     * keymap.c (describe_map_tree): Insert key_heading here.
  510.     New arg TITLE.
  511.     (describe_buffer_bindings): Corresponding changes.
  512.  
  513.     * process.c (wait_reading_process_input): Use SIGIO only if defined.
  514.  
  515.     * keymap.c (shadow_lookup): New function.
  516.     (describe_map_2): Call it.  SHADOW is now a list of maps.
  517.     (describe_vector): Likewise.
  518.     (describe_map): SHADOW is now a list of maps.
  519.     (describe_map_tree): Likewise.
  520.     (describe_buffer_bindings): Build suitable list to pass as SHADOW.
  521.     (Faccessible_keymaps): New arg PREFIX.  Callers changed.
  522.     (describe_map_tree): New arg PREFIX.
  523.     (Fdescribe_bindings): New arg PREFIX.
  524.     Pass to describe_buffer_bindings along with buffer.
  525.     (describe_buffer_bindings): Extract PREFIX and pass along.
  526.  
  527. Mon Jun 28 15:18:53 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  528.  
  529.     * keymap.c (describe_map_2): Cleanups.
  530.     Check there's no previous definition in same keymap. 
  531.  
  532. Thu Jun 24 00:15:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  533.  
  534.     * keyboard.c (read_char): Don't do idle autosaves if we're not
  535.     interactive.
  536.  
  537. Wed Jun 23 21:32:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  538.  
  539.     * xfns.c (Fx_create_frame): Check for internalBorder resource, as
  540.     well as internalBorderWidth.
  541.  
  542.     * xterm.c (XTread_socket): Remove #if 0''s around code which tests
  543.     for dropped connection (i.e. sigio but no events).
  544.  
  545. Tue Jun 22 02:58:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  546.  
  547.     * keyboard.c (menu_bar_items, read_key_sequence): Use
  548.     current_global_map, not global_map; the latter is only meant to be
  549.     used for initial_define_key.
  550.     * commands.h: Doc fix.
  551.  
  552.     * commands.h (Vglobal_mouse_map): Removed; unused.
  553.     * xfns.c (Vglobal_mouse_map): Same.
  554.  
  555.     * buffer.c (list_buffers_1): Make desired_point a lisp object; set
  556.     it to nil, unless we find the current buffer.
  557.     (Flist_buffers): Don't try to set point in the buffer list unless
  558.     list_buffers_1 actually returns an integer.  Don't use a full
  559.     save_excursion; just save and restore the buffer.
  560.  
  561.     Separate parameter faces (those created and modified by the user)
  562.     from the computed faces (the combinations created by
  563.     compute_char_face), so that we don't waste global face id's.
  564.     * xterm.h (struct x_display): Replace the fields faces and n_faces
  565.     with fields param_faces, n_param_faces, computed_faces,
  566.     n_computed_faces, and size_computed_faces.
  567.     (FRAME_FACES, FRAME_N_FACES): Replaced by...
  568.     (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
  569.     FRAME_N_PARAM_FACES): New macros.
  570.     * xfaces.c: Doc fixes.
  571.     (init_frame_faces): Call new_computed_face to create entries for
  572.     the default and mode line faces.  Use the FRAME...PARAM_FACES
  573.     macros.
  574.     (free_frame_faces): Use the FRAME...PARAM_FACES and
  575.     FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
  576.     parameter faces have real X resources, and all computed faces just
  577.     have copies.  Free both the parameter and computed face arrays.
  578.     (new_computed_face): New function.
  579.     (intern_computed_face): Renamed from intern_frame_face; callers
  580.     changed.  Call new_computed_face.
  581.     (ensure_face_ready, compute_char_face, compute_glyph_face): Use the
  582.     FRAME...PARAM_FACES macros.
  583.     (recompute_basic_faces): Use the FRAME...PARAM_FACES and
  584.     FRAME...COMPUTED_FACES macros.  Produce the computed faces by
  585.     starting with the base faces and merging in the parameter faces.
  586.     (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
  587.     macros.  Just call recompute_basic_faces if the default or mode
  588.     line faces have changed.
  589.     * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
  590.     * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
  591.     * dispextern.h (struct face): Remove the copy member.  This is no
  592.     longer necessary; all computed faces are copies, and no parameter
  593.     faces are.
  594.  
  595.     * xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
  596.     static.
  597.  
  598.     * xdisp.c (redisplay_window): Remember to compute end relative to
  599.     the start of the visible region, too.
  600.  
  601. Mon Jun 21 22:02:48 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  602.  
  603.     * xrdb.c (get_user_db): Remember to free the screen-local resource
  604.     string after we've merged its data into db.
  605.  
  606.     * keyboard.c (make_lispy_event): Added detection of double-click
  607.     and triple-click events.
  608.     (parse_modifiers_uncached, apply_modifiers_uncached): Same.
  609.     (read_key_sequence): Coerce double-clicks to clicks, and triple-clicks
  610.     to double-clicks or clicks, by analogy with drag events.
  611.     (double_click_time): Added variable.
  612.     * termhooks.h: Added multi-click event modifier bits.
  613.  
  614. Mon Jun 21 15:37:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  615.  
  616.     * textprop.c (Fremove_text_properties, Fadd_text_properties):
  617.     Really do next_interval when skipping the first interval.
  618.  
  619. Sun Jun 20 16:01:51 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  620.  
  621.     * xfns.c (Fx_open_connection): Remember to block input while
  622.     calling x_load_resources.
  623.     * xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
  624.     not a server-specific bug.
  625.  
  626.     * alloc.c (Fgarbage_collect): If the minibuffer is active, don't
  627.     display the "...done" message; allow the minibuffer to show again.
  628.  
  629.     * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf
  630.     to chew on.  Re-arrange macros to reflect the ordering of the
  631.     corresponding macros in configure.in, to facilitate this kind of
  632.     checking.
  633.  
  634. Sat Jun 19 17:14:27 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  635.  
  636.     * version 19.15 released.
  637.  
  638. Sat Jun 19 16:24:58 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  639.  
  640.     * puresize.h (PURESIZE): Up this to 205000 for MULTI_FRAME Emaces,
  641.     and 190000 for non-MULTI_FRAME Emaces.
  642.  
  643.     * xfaces.c (recompute_basic_faces): This shouldn't be declared static.
  644.  
  645.     * xrdb.c (get_user_db): Some NCD xterms seem to hang in
  646.     XScreenResourceString.  Consult the ServerVendor and VendorRelease
  647.     variables to see if we're talking to such a server.
  648.  
  649.     * xterm.c (XTread_socket): Never treat a modifier key as a
  650.     non_ascii_keystroke.
  651.  
  652.         * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.
  653.     * lisp.h (shut_down_emacs): Doc fix.
  654.  
  655. Fri Jun 18 11:05:46 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  656.  
  657.     * frame.c (Fmake_frame_visible): Make this interactively callable;
  658.     frames can accept input while iconified, so it makes sense to put
  659.     this on a key.
  660.  
  661.     * xfaces.c: Add forward declaration for recompute_basic_faces.
  662.  
  663.     * fileio.c (Fset_visited_file_modtime): We're only passing two
  664.     arguments to the file name handler; use call2, not call3.
  665.  
  666.         Changes for Irix 4.0, tested this time:
  667.     * s/irix4-0.h: Get rid of our fake definitions for setpgrp and
  668.     getpgrp.
  669.     * callproc.c (Fcall_process): Go ahead and use the USG calling
  670.     convention for setpgrp.
  671.     * ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
  672.     separate-source-directory compilation.
  673.     * emacs.c (shut_down_emacs): Some USG systems #define
  674.     EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
  675.     * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
  676.     non-USG.
  677.  
  678.     * sysdep.c (rename): Make arguments const.  autoconf #defines
  679.     const away on systems which don't have it; any system with
  680.     prototypes will declare the arguments const (the ones to which I
  681.     have access do); and systems without prototypes won't notice.
  682.  
  683.     * process.c [IRIX] (create_process): Don't put child in process
  684.     group zero before opening the tty; Irix is like USG in this
  685.     regard.
  686.  
  687.     * s/isc2-2.h, s/linux.h, s/usg5-4.h, m/alliant-2800.h, m/convex.h,
  688.     m/pfa50.h: Remove #definition of HAVE_CLOSEDIR; autoconf figures
  689.     this out.
  690.  
  691.     * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to
  692.     be missing on some systems, and there's no point in having
  693.     configure check; it should work fine to always use our copy.
  694.  
  695.     * minibuf.c (Fread_minibuffer): Add missing semicolon after
  696.     CHECK_STRING macro.
  697.  
  698. Thu Jun 17 19:29:56 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  699.  
  700.     * Version 19.14 released.
  701.  
  702. Thu Jun 17 15:05:29 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  703.  
  704.     * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd.  We are
  705.     now calling the BSD[sg]etpgrp functions directly, so this library
  706.     is not needed; it just provides the BSD[sg]etpgrp functions under
  707.     the [sg]etpgrp names.
  708.  
  709.     * callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
  710.     It's already been called up in Fcall_process, and create_process.
  711.  
  712.     * callproc.c (Fcall_process, child_setup): If IRIX is #defined,
  713.     call setpgrp with arguments, even if USG is #defined.
  714.     * process.c [IRIX] (create_process): Don't call setpgrp before
  715.     opening the pty.  Call it after doing the TIOCNOTTY ioctl.
  716.  
  717.     * xfaces.c (compute_base_face): Initialize the face's stipple.
  718.     Although we don't use this feature now, face_eql notices it.
  719.  
  720.     * xfaces.c (compute_base_face): Set cached_index to an invalid
  721.     index, to avoid an unnecessary comparison.
  722.  
  723.     * keyboard.c (read_key_sequence): Don't confuse mock input with
  724.     function-key-map expansion, and continue reading mock events when
  725.     the current sequence is unbound.
  726.  
  727.     * keyboard.c (read_key_sequence): After providing a prefix symbol
  728.     for a mouse event, modify the mouse event to indicate that that
  729.     won't need to be done again, by putting the event's position
  730.     symbol in a list.
  731.  
  732.     * keyboard.c (read_key_sequence): When returning mock input which
  733.     has run off the end of the current maps, make sure the events get
  734.     echoed, and make it into this-command-keys.
  735.  
  736.     * keyboard.c (read_key_sequence): When re-reading a previously
  737.     read mouse click which requires a prefix symbol, make sure to set
  738.     last_real_key_start appropriately, so we can properly drop
  739.     button-down events.
  740.  
  741. Thu Jun 17 00:07:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  742.  
  743.     * ymakefile (really-oldXMenu): Pass C_SWITCH_MACHINE down.
  744.  
  745.     * intervals.c (verify_interval_modification): Don't just test
  746.     Qread_only prop; use INTERVAL_WRITABLE_P.
  747.  
  748.     * syntax.c (scan_lists, Fforward_comment): #if 0 the code
  749.     to treat two-character comment enders with a special shortcut.
  750.  
  751. Wed Jun 16 22:16:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  752.  
  753.     * config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
  754.     change.
  755.     * sysdep.c (closedir): Only define this if autoconf can't find
  756.     HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
  757.     defined (USG5_4)), then don't free the buffer separately.
  758.  
  759.     * keyboard.c (read_key_sequence): If we add events to a key
  760.     sequence that didn't come from the input stream (e.g. `mode-line'
  761.     prefixing a mouse click, or an expansion from function-key-map),
  762.     and end up with a sequence that runs off the end of the current
  763.     maps, return the entire key sequence, not just the initial portion
  764.     which was bound or unbound.
  765.  
  766.     * xdisp.c (redisplay_window): Do not subtract one from start
  767.     before passing it to the set_vertical_scroll_bar_hook.
  768.  
  769.     * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
  770.     CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
  771.     CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
  772.     CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
  773.     CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
  774.     ... while (0) around these compound statements to make them
  775.     syntactically equivalent to a single statement.
  776.  
  777. Wed Jun 16 18:37:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  778.  
  779.     * editfns.c (Finsert_buffer_substring): Doc fix.
  780.  
  781. Wed Jun 16 10:12:49 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  782.  
  783.     Don't let the 'B' interactive spec default to buffers viewed in
  784.     any visible frame.
  785.     * buffer.c (Fother_buffer): Pass Qt as the second argument
  786.     to Fget_buffer_window.
  787.     * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
  788.     non-visible frames.
  789.     (Fget_buffer_window): Change doc string to mention that passing Qt
  790.     for the FRAME argument returns windows on visible frames only.
  791.  
  792.         Changes for correct pgrp behavior; approach suggested by Bob
  793.     Glickstein <bobg@zindigo.z-code.com>:
  794.     * m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
  795.     * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
  796.     and BSDsetpgrp.
  797.     (GETPGRP_NO_ARG): Don't #define this.
  798.     * emacs.c (main): Don't test GETPGRP_NO_ARG.
  799.     * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
  800.  
  801.     * Makefile.in (CPP): New variable, set by the top-level Makefile.
  802.  
  803.     * m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf
  804.     takes care of that.
  805.     (LIBS_SYSTEM): Don't attempt to #define this if we already have a
  806.     definition of LIB_SYSTEM from s/usg5-4.h.
  807.  
  808.     * unexec.c [HPUX] (sbrk): This returns a void *.
  809.  
  810.     * window.c (check_frame_size): Allow minibuffer-only frames to be
  811.     one line high.
  812.  
  813.     * frame.c (store_frame_param): Fix error message punctuation.
  814.  
  815.     * callproc.c [IRIX] (child_setup): Don't set the pgroup.
  816.  
  817.     * s/isc3-0.h (memmove): #define this to call safe_bcopy.
  818.  
  819.     * buffer.c (list_buffers_1): Return the desired point.
  820.     (Flist_buffers): Put point there in the buffer summary.
  821.  
  822.         Bring mumbleclean targets into conformance with GNU coding standards.
  823.     * Makefile.in (mostlyclean): New target.
  824.     (clean): Just call mostlyclean.  Get rid of ../etc/DOC too.
  825.     (distclean): Use clean to do most of the work.
  826.     Get rid of ../etc/DOC-* too.
  827.     (realclean): New target.
  828.  
  829.     * xdisp.c (redisplay_window): Do not subtract BEGV to compute
  830.     the scroll bar handle's end.
  831.  
  832. Tue Jun 15 03:47:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  833.  
  834.     * xmenu.c (xmenu_show): Store 0 in *ERROR at the beginning.
  835.  
  836.     * fileio.c (Finsert_file_contents): Two new args, BEG and END.
  837.  
  838.     * intervals.c (adjust_intervals_for_insertion): By default, copy
  839.     properties from before the insertion.
  840.  
  841. Mon Jun 14 13:29:51 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  842.  
  843.     * syntax.c (scan_sexps_forward): Set state.comstart to before the
  844.     comment starter, not after.
  845.  
  846.     * xmenu.c (Fx_popup_menu): Call keymap_panes right in one-keymap case.
  847.  
  848. Mon Jun 14 11:06:35 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  849.  
  850.     * s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
  851.     and #define the latter.
  852.  
  853.     * xdisp.c (display_text_line): Use temporary variable.
  854.  
  855. Mon Jun 14 03:05:17 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  856.  
  857.     * window.c (Fdelete_window): Handle deleting a parent of the
  858.     selected window.
  859.  
  860. Sun Jun 13 04:10:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  861.  
  862.     * fileio.c (Fset_visited_file_modtime): Don't give the handler
  863.     the filename as an argument.
  864.  
  865.     * syntax.c (scan_lists, Fforward_comment): Pass 0 as commentstop arg
  866.     to scan_sexps_forward.
  867.     (scan_sexps_forward, char_quoted): Now static.
  868.     (describe_syntax, describe_syntax_1): Now static.
  869.  
  870.     * undo.c (Fprimitive_undo): Rename arg to N to avoid conflict.
  871.  
  872.     * window.c (Fdelete_window): Mostly undo last change.
  873.     Don't initialize `frame' in the declaration.
  874.  
  875.     * Make prefix keys work with keymap inheritance
  876.     by creating an inheritance structure for each subkeymap
  877.     that we create in the inheriting keymap.
  878.     * keymap.c (access_keymap): New arg NOINHERIT.  All calls changed.
  879.     (define_as_prefix): New function.
  880.     (Fdefine_key): Use them.
  881.  
  882. Sat Jun 12 19:52:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  883.  
  884.     * emacs.c (shut_down_emacs): New arg STUFF.  Stuff input here.
  885.     (Fkill_emacs, fatal_error_signal): Pass new arg.
  886.     * xterm.c (x_connection_closed): Pass new arg.
  887.  
  888.     * dired.c (Ffile_attributes): Give -1 as size if size won't fit.
  889.  
  890.     * intervals.c (set_point): When moving over invis chars,
  891.     don't screw up at end of buffer.
  892.  
  893.     * eval.c (call5, call6): New functions.
  894.     (call1, call2, call3, call4): Renumber the args.
  895.     * lread.c (Fload): Use call5.
  896.     * fileio.c (Fcopy_file): Pass all the args to the handler.
  897.     (Fwrite_region): Use call6.
  898.     (Frename_file): Look for handler for newname.
  899.     (Fadd_name_to_file): Pass arg ok_if_already_exists to handler.
  900.     (Fmake_symbolic_link): Likewise.
  901.     (Ffile_newer_than_file_p): Check both file names for handler.
  902.  
  903. Sat Jun 12 13:35:37 1993  John Hughes  (john@moonlite.CalvaCom.fr)
  904.  
  905.     * term.c (term_get_fkeys): Use `prior', not `previous', for %8/kP.
  906.  
  907. Sat Jun 12 13:00:03 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  908.  
  909.     * sysdep.c (child_setup_tty): Remove duplicate settings for VQUIT
  910.     and VINTR.
  911.  
  912.     * sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it
  913.     disables the meta key.
  914.  
  915.     * frame.c (Fmouse_position, Fset_mouse_position): Doc fix.
  916.  
  917.     * xfns.c [! HAVE_X11R5] (Fx_rebind_key): Recognize that
  918.     XK_Mode_switch and XK_Num_Lock are modifier keysyms too.
  919.  
  920.     * xterm.c (XTset_vertical_scroll_bar): Use double type for
  921.     intermediate results in scaling.
  922.  
  923. Sat Jun 12 12:56:36 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  924.  
  925.     * undo.c (syms_of_undo): Set up Qinhibit_read_only.
  926.     (Fprimitive_undo): Sometimes bind inhibit-read-only to t.
  927.  
  928.     * minibuf.c (read_minibuf): Set and use mini_frame only if MULTI_FRAME.
  929.  
  930.     * xdisp.c (echo_area_display): Use XFASTINT on ->height.
  931.     (copy_rope, copy_part_of_rope): Access *f as Lisp_Object.
  932.  
  933.     * window.c (Fdelete_window): Make `frame' a FRAME_PTR and use as such.
  934.  
  935.     * undo.c (record_delete): Always use XFASTINT on sbeg.
  936.     (Fprimitive_undo): Add missing `else'.  Add USE_TEXT_PROPERTIES
  937.     conditional for calling Fput_text_property.  Use XINT on high, low.
  938.  
  939.     * process.c (start_process_unwind): Use XINT.
  940.  
  941.     * syntax.c (Fset_syntax_table): Add XFASTINT.
  942.  
  943. Sat Jun 12 05:30:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  944.  
  945.     * xterm.c (x_error_quitter, x_io_error_quitter): Remove calls to
  946.     abort.  We can always run Emacs with _Xdebug set to 1.
  947.  
  948.     * ymakefile (really-oldXMenu): Remember backslash to extend command.
  949.  
  950.     * keyboard.c (read_key_sequence): When we generate a prefix symbol
  951.     for a mouse event, store the actual mouse event in
  952.     unread_command_events, so we don't lose it if the symbol isn't
  953.     bound to a prefix.
  954.  
  955.     * config.h.in (HAVE_XRMSETDATABASE, HAVE_RANDOM, HAVE_LIBXBSD):
  956.     Add #undefs for these.
  957.     Dyke out code requesting -lXbsd and HAVE_RANDOM for XFREE386.
  958.     * xfns.c (Fx_open_connection): Test HAVE_XRMSETDATABASE instead of
  959.     NO_XRM_SET_DATABASE; the latter isn't used any more.
  960.     * m/delta88k, m/tekXD88.h, s/linux.h, s/usg5-4-2.h (HAVE_RANDOM):
  961.     Dyke out these #definitions; to avoid conflict with autoconf.
  962.  
  963.     * ymakefile (really-oldXMenu): Explicitly pass CC, CFLAGS, and
  964.     MAKE to the oldXMenu make.
  965.  
  966.     * window.c (Fprevious_window): Use FRAME_HAS_MINIBUF_P to decide
  967.     if the frame has a minibuffer; FRAME_MINIBUF_WINDOW points to the
  968.     surrogate on minibufferless frames, not nil.
  969.  
  970. Sat Jun 12 00:43:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  971.  
  972.     * keyboard.c (read_char): Set c properly as a Lisp int.
  973.     (command_loop_1): Delete spurious use of XINT on c, a char.
  974.  
  975.     * frame.c: Doc fixes.
  976.  
  977.     * data.c (cons_to_long): Declare top, bot as Lisp_Object.
  978.  
  979.     * floatfns.c (Fexpt): New local `val' for making integer to return.
  980.  
  981.     * keymap.c (Fcopy_keymap): Check Fkeymapp value with NILP.
  982.     (get_keymap_1): Add missing semicolon.
  983.     (describe_vector_princ): Align to column 16.
  984.  
  985.     * emacs.c (main) [GETPGRP_NO_ARG]: Really pass no arg to getpgrp.
  986.  
  987. Fri Jun 11 16:49:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  988.  
  989.     * xterm.c (XTmouse_position): Don't set *f at all unless we win.
  990.  
  991.     * process.c (read_process_output): Don't deactivate the mark.
  992.     Do restore Vdeactivate_mark, so that no one else deactivates it.
  993.  
  994.     * buffer.c (Fgenerate_new_buffer_name): GENTEMP is the value to
  995.     compare against IGNORE.
  996.  
  997. Fri Jun 11 12:15:29 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  998.  
  999.         Interact properly with shells lacking job control (sh, rc, es...)
  1000.     * sysdep.c [BSD] (inherited_pgroup): New variable.
  1001.     (narrow_foreground_group, widen_foreground_group): New functions.
  1002.     (init_sys_modes): Call narrow_foreground_group.
  1003.     (reset_sys_modes): Call widen_foreground_group.
  1004.     * emacs.c [BSD] (inherited_pgroup): Add extern declaration.
  1005.     [BSD] (main): Set inherited_pgroup, and put ourselves in our own
  1006.     pgroup.
  1007.  
  1008. Fri Jun 11 11:41:04 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1009.  
  1010.     * xfns.c (syms_of_xfns): Don't set up Qicon.
  1011.     (Qicon): Declaration deleted.
  1012.     * frame.h (Qicon): Declared.
  1013.  
  1014.     * frame.c (Fmouse_position): Set up defaults before calling the hook.
  1015.  
  1016. Fri Jun 11 07:17:59 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1017.  
  1018.     * xdisp.c (redisplay_window): Don't call try_window_id if the
  1019.     window isn't starting at the beginning of the line.
  1020.  
  1021.     * window.c (Fprevious_window): Typo.
  1022.  
  1023. Fri Jun 11 03:13:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1024.  
  1025.     * ymakefile (alloca.o): Delete allocatem.c, not allocax.c.
  1026.  
  1027.     * textprop.c (Fset_text_properties): No special case for props = nil.
  1028.  
  1029.     * xfns.c (Fx_list_fonts): If names is 0, just return nil.
  1030.  
  1031. Fri Jun 11 02:43:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1032.  
  1033.     * xterm.c (x_new_font): If font_names is zero, that's all the
  1034.     indication we get that no matches were found.
  1035.  
  1036.     * s/isc3-0.h (LIB_X11_LIB): #undef this, to remove the value
  1037.     inherited from usg5-3.h; ISC doesn't have libX11_s.
  1038.     (LIBX11_SYSTEM): Link against the static -lc, not -lc_s.
  1039.  
  1040. Thu Jun 10 17:14:25 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1041.  
  1042.     * lread.c (Fload): Forward all 4 args to magic-name handler.
  1043.  
  1044. Thu Jun 10 03:25:20 1993  Shane Hartman  (shane@nugget.spr.com)
  1045.  
  1046.         * window.c (Fscroll_left): Make argument optional.
  1047.         (Fscroll_right): Ditto.
  1048.  
  1049. Thu Jun 10 01:18:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1050.  
  1051.     * search.c (Flooking_at, Fstring_match, fast_string_match,
  1052.     search_buffer): Don't block input while calling searching and
  1053.     matching functions.  These functions may not call malloc under
  1054.     Emacs anyway, and we need to be able to check for C-g.
  1055.  
  1056.     * xrdb.c (get_user_db): Get the screen-specific database too.
  1057.  
  1058.     * syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
  1059.     with the proper number of arguments.
  1060.  
  1061.     * sysdep.c: Remove clause for DGUX support of FASYNC; add clause
  1062.     to #undef FASYNC if BROKEN_FASYNC is #defined.
  1063.  
  1064.     * filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to
  1065.     interface nicely with autoconf.
  1066.     * m/delta.h: Don't #define SHORT_FILE_NAMES; autoconf does this
  1067.     for us.
  1068.  
  1069.     * s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
  1070.     (BSD4_4, SVR4, HAVE_SETSID, HAVE_UNIX_DOMAIN): #define these.
  1071.     (FIRST_PTY_LETTER): This is 'r', not 'p'.
  1072.     (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Don't #define these.
  1073.     (HAVE_TERMIOS): #define these instead.
  1074.     (XREBINDKEYSYM):  Don't #define.
  1075.     Test THIS_IS_YMAKEFILE instead of MAKING_MAKEFILE.
  1076.     (sigmask, sigpause): #undef these after #including <signal.h>.
  1077.     (LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM, LIB_GCC): #define
  1078.     these to avoid problems with /lib/crt0.o.
  1079.     (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): #define these.
  1080.  
  1081.     * s/dgux.h (BROKEN_FASYNC): #define this.
  1082.  
  1083.     * fileio.c (Frename_file): Pass all arguments to the file name handler.
  1084.     * eval.c (call4): New function.
  1085.  
  1086. Wed Jun  9 00:36:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1087.  
  1088.     * s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
  1089.  
  1090.     * process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
  1091.     (Fopen_network_stream): Cast the second argument to connect, to
  1092.     avoid warnings on any system that provides prototypes for connect.
  1093.  
  1094.     * xdisp.c (display_text_line): Handle case where line ends in a
  1095.     continuation character but we never actually displayed any buffer
  1096.     text (due to minibuffer prompt).
  1097.  
  1098.     * xterm.c (x_is_vendor_fkey): New function.
  1099.     (XTread_socket): Call it to recognize vendor-specific function keys.
  1100.  
  1101.     * s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
  1102.     MAKING_MAKEFILE conditional.  No harm.
  1103.  
  1104.     * xfaces.c (init_frame_faces): Remove assumption that the selected
  1105.     frame must be an X frame whenever there is already an X frame.
  1106.  
  1107. Tue Jun  8 23:54:04 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1108.  
  1109.     * alloc.c (emacs_blocked_malloc, emacs_blocked_realloc): Cast the
  1110.     return values of malloc and realloc, to placate compilers.
  1111.  
  1112. Tue Jun  8 12:24:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1113.  
  1114.     * window.c (Fprevious_window): When changing frames,
  1115.     use the new frame's minibuffer if any.
  1116.  
  1117.     * intervals.h (INTERVAL_WRITABLE_P): Fix backwards tests.
  1118.  
  1119.     * m/tekXD88.h: Rewrite by author.
  1120.  
  1121. Tue Jun  8 00:38:15 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  1122.  
  1123.     * Version 19.13 released.
  1124.  
  1125.     * ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these;
  1126.     people shouldn't edit this file to choose optimization and
  1127.     debugging switches anyway.  ../configure will set CFLAGS to an
  1128.     appropriate default, which they will be able to override.
  1129.     * Makefile.in (xmakefile): Don't try to turn -g and -O in
  1130.     CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH.  CFLAGS should
  1131.     be the sole source of such switches, so that setting CFLAGS
  1132.     controls them completely.
  1133.  
  1134. Mon Jun  7 23:54:46 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  1135.  
  1136.     * config.h.in (HAVE_LIBDNET): New macro, to be defined by
  1137.     ../configure.
  1138.     * m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET
  1139.     is #defined.
  1140.  
  1141. Mon Jun  7 00:10:09 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1142.  
  1143.     * fileio.c (syms_of_fileio): Set up Qset_visited_file_modtime.
  1144.     (Fset_visited_file_modtime): Use the proper operation.
  1145.  
  1146.     * sysdep.c (init_baud_rate) [HAVE_TERMIOS]: Use cfgetospeed.
  1147.  
  1148.     * systty.h: Add NO_TERMIO conditional.
  1149.  
  1150.     * textprop.c (Fadd_text_properties): Don't treat the initial
  1151.     interval specially, aside from splitting off the part starting
  1152.     where we want to start changing things.
  1153.     (Fremove_text_properties): Likewise.
  1154.     For ending interval, split it left as in Fadd_text_properties.
  1155.     (Fset_text_properties): Don't set starting interval if it goes
  1156.     past END.  Instead, split it left and set the left part.
  1157.  
  1158.     * keymap.c (Fdescribe_vector): Use current buf, not standard-output.
  1159.     (describe_vector_princ): Add newline at end.
  1160.  
  1161.     * keymap.c (store_in_keymap, access_keymap): Use CHAR_META
  1162.     when clearing excess high bits.
  1163.  
  1164.     * s/dgux.h (INTERRUPTIBLE_*): Fix spelling of macros.
  1165.  
  1166.     * s/hpux9.h (SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and
  1167.     #undefs deleted.
  1168.  
  1169.     * keymap.c: Doc fix.
  1170.  
  1171.     * buffer.c (Fdelete_overlay): Do nothing if overlay already deleted.
  1172.     Bind inhibit-quit to t.
  1173.     (Fmove_overlay): Properly handle changing buffers, or no prev buffer.
  1174.     Bind inhibit-quit to t.
  1175.  
  1176.     * lread.c (syms_of_lread): Set up Qload.
  1177.     (Fload): Handle magic file names.
  1178.  
  1179. Mon Jun  7 17:07:28 1993  Shane Hartman  (shane@nugget.spr.com)
  1180.  
  1181.         * xterm.c (x_caught_error_message): Change type to char* from char*[].
  1182.         (X_CAUGHT_ERROR_MESSAGE_SIZE): New macro.
  1183.         (x_error_catcher): Corresponding changes.
  1184.         (x_catch_errors): Corresponding changes.
  1185.         (x_check_errors): Do not free x_caught_error_message.
  1186.         (x_uncatch_errors): Set x_caught_error_message to 0 after freeing it.
  1187.  
  1188. Sun Jun  6 18:38:55 1993  Paul Eggert  (eggert@twinsun.com)
  1189.  
  1190.     * uaf.h (uaf$v_thursday): Fix misspelling of "thursday".
  1191.  
  1192.     * floatfns.c (Fceiling): Fix spelling of "ceiling".
  1193.  
  1194. Sun Jun  6 13:41:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1195.  
  1196.     * ymakefile [__GNUC__ >= 2] (LIB_GCC): Delete spurious -L.
  1197.  
  1198.     * m/tekXD88.h (HAVE_RENAME): Deleted.
  1199.  
  1200.     * data.c (Ffset): Delete special check for t and nil.
  1201.  
  1202.     * xfaces.c (same_size_fonts): Compare only the width.
  1203.  
  1204.     * dispnew.c: Include lisp.h earlier (before termhooks.h).
  1205.  
  1206.     * editfns.c (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE.
  1207.     * systime.h [HAVE_TZNAME]: Declare tzname if not macro.
  1208.     * config.h.in (HAVE_TZNAME): Add #undef.
  1209.  
  1210. Sun Jun  6 13:42:35 1993  Nobuyuki Hikichi  (hikichi@sra.co.jp)
  1211.  
  1212.     * m/news-risc.h (NO_MODE_T): Defined.
  1213.     (LINKER): Add #undef.
  1214.  
  1215. Sun Jun  6 02:44:47 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1216.  
  1217.     * keymap.c (access_keymap, store_in_keymap): Discard meaningless
  1218.     high bits of a character event.
  1219.  
  1220. Sat Jun  5 04:04:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1221.  
  1222.     * lisp.h: Don't declare malloc or realloc.
  1223.  
  1224.     * xfns.c [EMACS_BIT_MAPS]: Include gray.xbm from ./bitmaps.
  1225.  
  1226.     * xterm.c (x_new_font): Don't give up right away if XListFontsWithInfo
  1227.     finds no fonts--try XLoadQueryFont anyway.
  1228.  
  1229.     * xfns.c (Fx_open_connection): Make `data' unsigned char.
  1230.  
  1231.     * window.c (Fset_window_configuration): If a window is supposed
  1232.     to have a buffer, always give it one.
  1233.  
  1234.     * xmenu.c (Fx_popup_menu): Error if we don't get a window
  1235.     or a frame somehow.
  1236.  
  1237.     * puresize.h: Test MULTI_FRAME, not HAVE_X_WINDOWS.
  1238.  
  1239.     * frame.c (Frubber_band_rectangle): Deleted.
  1240.     (syms_of_frame): Don't defsubr it.
  1241.  
  1242.     * xselect.c (x_get_foreign_selection): Handle x_selection_timeout
  1243.     as milliseconds, not as seconds.
  1244.     (syms_of_xselect): Doc fix to match.
  1245.  
  1246.     * m/mips4.h (MIPS2): Comment out define.
  1247.     (LIB_STANDARD): Delete -lisode.
  1248.  
  1249. Fri Jun  4 03:06:37 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1250.  
  1251.     * syssignal.h [POSIX] [!__GNUC__] (sys_sigmask): Add declaration.
  1252.  
  1253.     * alloc.c (make_event_array): Ignore bits above CHAR_META.
  1254.  
  1255.     * frame.c [!MULTI_FRAME] (Fframep): New dummy definition.
  1256.     (syms_of_frame): Defsubr that.
  1257.  
  1258.     * buffer.c (syms_of_buffer): Set up Lisp var inhibit-read-only.
  1259.     * lisp.h (Vinhibit_read_only): Declared.
  1260.     * buffer.c (Fbarf_if_buffer_read_only): Check Vinhibit_read_only.
  1261.     * cmds.c (Fnewline): Use Fbarf_if_buffer_read_only.
  1262.  
  1263.     * intervals.h (INTERVAL_VISIBLE_P): Use textget.
  1264.     (INTERVAL_WRITABLE_P): Use textget.
  1265.     Check Vinhibit_read_only.
  1266.  
  1267.     * window.c (syms_of_window): Always defvar pop-up-frames
  1268.     and pop-up-frame-function.
  1269.  
  1270.     * process.c (read_process_output): Deactivate the mark.
  1271.     Save and restore Vdeactivate_mark.
  1272.  
  1273.     * xfns.c (x_set_menu_bar_lines_1): Adjust just the uppermost child
  1274.     in a vertical split.  Adjust the hight counter to the top.
  1275.     (x_set_menu_bar_lines): Don't change overall frame height.
  1276.  
  1277. Fri Jun  4 12:41:07 1993  Francesco Potorti`  (pot@cnuce.cnr.it)
  1278.  
  1279.     * filelock.c (MAKE_LOCK_PATH): If SHORT_FILE_NAMES allocates
  1280.     different space and calls fill_in_lock_short_file_name.
  1281.     (fill_in_lock_short_file_name): New function for 14-chars hashed
  1282.     file names. Replaces fill_in_lock_file_name if SHORT_FILE_NAMES.
  1283.  
  1284. Thu Jun  3 00:07:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1285.  
  1286.     * sysdep.c (wait_for_termination): Fix sigpause in POSIX_SIGNALS case.
  1287.  
  1288.     * xterm.c (x_catch_errors): Fill in missing array size in cast.
  1289.  
  1290.     * Makefile.in (xmakefile): Depend on ../config.status.
  1291.  
  1292.     * buffer.c (init_buffer): Init default-directory of minibuffer.
  1293.  
  1294.     * m/iris4d.h (LIB_STANDARD): Delete -lbsd.
  1295.  
  1296.     * keyboard.c (read_key_sequence): Reset fkey_map when we find
  1297.     something at the end of Vfunction_key_map.
  1298.  
  1299.     * m/ibmrt-aix.h (HAVE_FTIME): Defined.
  1300.  
  1301.     * emacs.c (syms_of_emacs): Doc fix.
  1302.  
  1303.     * keyboard.c (read_char_menu_prompt): Now static.  Add declaration.
  1304.  
  1305.     * dispnew.c (Fredraw_display): Redraw all visible frames.
  1306.     (redraw_garbaged_frames): New function.
  1307.     * xdisp.c (redisplay, echo_area_display): Use redraw_garbaged_frames.
  1308.  
  1309.     * dispnew.c (do_pending_window_change): No need to clear
  1310.     FRAME_NEW_HEIGHT/WIDTH.  Do test width != 0.
  1311.  
  1312.     * xterm.c (x_wm_set_size_hint): Handle XGetNormalHints returning 0.
  1313.  
  1314.     * xfns.c (x_set_frame_parameters): Process all parms in reverse order.
  1315.  
  1316.     * frame.h (FRAME_MINIBUF_WINDOW): Use minibuffer_window.
  1317.  
  1318. Wed Jun  2 16:12:30 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1319.  
  1320.     * sysdep.c (init_sys_modes): Disable VLNEXT char.
  1321.     Also VWERASE, VREPRINT, VDISCARD.
  1322.  
  1323.     * xfaces.c: Test XOS_NEEDS_TIME_H, not HPUX, for including time.h.
  1324.     * s/sol2.h, s/hpux.h (XOS_NEEDS_TIME_H): Defined.
  1325.  
  1326. Wed Jun 2 20:11:29 1993  Francesco Potorti`  (pot@cnuce.cnr.it)
  1327.  
  1328.     * ymakefile (alloca.o): Use temp names allocax.o, allocax.s
  1329.  
  1330.     * m/delta.h (MOTOROLA_DELTA): Defined.
  1331.     (HAVE_SYSVIPC, BAT68K, BAT_ALLOCA): Deleted--obsolete.
  1332.     (STACK_DIRECTION, HAVE_X_WINDOWS): Deleted--configure knows.
  1333.     (C_SWITCH_MACHINE): Set to -ga if using the Green Hills compiler.
  1334.     (LIB_STANDARD, LIB_MATH): Defined to the 68881 versions.
  1335.     (LIBS_SYSTEM): -lbsd brings sigblock and sigsetmask.
  1336.     (sigsetmask): Undefined--it is in -lbsd.
  1337.     (LDAV_SYMBOL): Undefined--we have no such thing.
  1338.     (KERNEL_FILE): Defined to "/sysV68".
  1339.     (BSTRING, HAVE_SELECT, HAVE_UNISTD_H, HAVE_TIMEVAL): Defined.
  1340.     (SIGNALS_VIA_CHARACTERS): Defined.
  1341.     (memmove): Defined as memcpy--we have no memmove.
  1342.     (SIGIO, INTERRUPT_INPUT): Undefined--not yet tested.
  1343.     (SHORT_FILE_NAMES, CLASH_DETECTION): Defined.
  1344.  
  1345. Wed Jun  2 02:06:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1346.  
  1347.     * Version 19.12 released.
  1348.  
  1349.     * term.c (term_get_fkeys): Use correct names for F10 and up.
  1350.     Use the key sequence, not the termcap cap name, in Fdefine_key.
  1351.  
  1352.     * intervals.c (copy_intervals): Don't adjust total_length at the end.
  1353.     Set lengths of subintervals properly.
  1354.     (balance_intervals): Balance left as well as right.
  1355.  
  1356. Tue Jun  1 22:07:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1357.  
  1358.     * keymap.c (syms_of_keymap): Add missing 2nd arg to Fcons.
  1359.  
  1360. Tue Jun  1 00:27:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1361.  
  1362.     * x/esix5-4.h: Redone by Joe Kelsey.
  1363.  
  1364.     * xterm.c (x_new_font): Take out last change.
  1365.  
  1366.     * s/386bsd.h (BSD4_2): Defined.
  1367.  
  1368.     * fileio.c (Fwrite_region): Don't fsync if autosaving.
  1369.  
  1370.     * s/irix4-0.h (GETPGRP_NO_ARG): Defined.
  1371.     * emacs.c (shut_down_emacs): Handle GETPGRP_NO_ARG.
  1372.     * sysdep.c (sys_suspend): Handle GETPGRP_NO_ARG.
  1373.  
  1374.     * fileio.c [HPUX9]: Don't include errnet.h.
  1375.  
  1376.     * hftctl.c (hft_alrm): Don't return a value.
  1377.     Always declare to return void.
  1378.  
  1379.     * floatfns.c [!FLOAT_CHECK_ERRNO] (IN_FLOAT): New definition.
  1380.     (Flog): Fix argument of `log'.
  1381.  
  1382.     * m/pmax.h (KERNEL_FILE): New override definition.
  1383.  
  1384.     * keyboard.c (read_key_sequence) [!USE_TEXT_PROPERTIES]: Fix typo.
  1385.     (menu_bar_items) [!USE_TEXT_PROPERTIES]: Likewise.
  1386.  
  1387.     * s/isc3-0.h: #undef C_SWITCH_SYSTEM.
  1388.  
  1389.     * xselect.c (Fx_store_cut_buffer_internal): Handle empty string right.
  1390.  
  1391.     * xfaces.c (init_frame_faces): Don't look at selected_frame
  1392.     unless it is an X frame.
  1393.  
  1394.     * xfns.c (x_window): Use Vxrdb_name for res_name field.
  1395.     Delete the shortname stuff.
  1396.  
  1397.     * m/pmax.h (LIBS_MACHINE): Defined.
  1398.  
  1399.     * Version 19.11 released.
  1400.  
  1401. Tue Jun  1 00:07:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1402.  
  1403.     * xfns.c (x_set_menu_bar_lines): Use FRAME_NEW_HEIGHT and ..._WIDTH.
  1404.  
  1405.     * m/sparc.h [__GNUC__ >= 2]: Don't include alloca.h.
  1406.  
  1407.     * xterm.c (x_new_font): If XListFontsWithInfo finds nothing,
  1408.     try to load the font anyway.
  1409.  
  1410.     * ymakefile (emacs): Don't run inc-vers if ../lisp is read-only.
  1411.     (C_SWITCH_SITE_1): New make variable.
  1412.     (really-oldXMenu): Pass C_SWITCH_X_SITE_1 as C_SWITCH_X_SITE.
  1413.     Use C_SWITCH_SITE_1 to pass C_SWITCH_SITE.
  1414.  
  1415.     * s/386bsd.h: New file.
  1416.  
  1417. Mon May 31 14:04:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1418.  
  1419.     * fns.c (internal_equal): Don't let ints be equal to floats.
  1420.  
  1421.     * print.c (float_to_string): Skip `-' like digits when ensuring
  1422.     result looks like a float.
  1423.  
  1424.     * data.c (Frem): Fix result sign properly.
  1425.  
  1426.     * xrdb.c [__bsdi__]: ALternate decls of getpwuid and getpwnam.
  1427.  
  1428.     * emacs.c (main) [BSD]: Delete the setpgrp (both times).
  1429.  
  1430.     * m/ibmrs6000.h (NLIST_STRUCT): Defined.
  1431.  
  1432.     * ymakefile (GETLOADAVG_OBJ): New macro.
  1433.     (obj): Use that.
  1434.  
  1435.     * s/bsd386.h: New file.
  1436.  
  1437.     * term.c (term_get_fkeys): If not initialized, init Vfunction_key_map.
  1438.  
  1439.     * m/ibmrs6000.h: Delete ! __GNUC__ conditional.
  1440.     (LD_SWITCH_MACHINE): Defined.
  1441.     (ORDINARY_LINK): Defined unconditionally.
  1442.  
  1443.     * dispnew.c (update_frame): Make preempt_count positive.
  1444.     Defend against negative baud_rate.
  1445.     * scroll.c (calculate_scrolling): Defend against negative baud_rate.
  1446.  
  1447.     * mem-limits.h [__bsdi__]: Define BSD4_2.
  1448.  
  1449.     * xfns.c (x_window): In XSetClassHint, use a shortened version
  1450.     of the frame name.
  1451.  
  1452.     * s/hpux8.h (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
  1453.  
  1454.     * xterm.c (XTread_socket, case KeyPress) [HPUX]: Test IsModifiedKey.
  1455.  
  1456.     * keyboard.c (kbd_buffer_get_event):
  1457.     Shorten the first MULTI_FRAME conditional.
  1458.  
  1459.     * s/usg5-4-2.h (HAVE_VFORK): Deleted.
  1460.  
  1461. Mon May 31 10:07:48 1993  James Clark  (jjc@jclark.com)
  1462.  
  1463.     * xselect.c (x_reply_selection_request): Call XFlushQueue.
  1464.  
  1465.     * window.c (Fset_window_buffer): Set window's force_start to Qnil.
  1466.  
  1467. Mon May 31 01:33:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1468.  
  1469.     * syntax.c (Fforward_comment): Set point to where scan stops,
  1470.     thus moving acros whitespace.  When moving fwd, treat Sendcomment
  1471.     as whitespace; likewise for Scomment when moving back.
  1472.     (scan_sexps_forward): New arg COMMENTSTOP.
  1473.     (Fparse_partial_sexp): Likewise.
  1474.  
  1475.     * xfns.c (Fx_create_frame): Use bitmapIcon, not iconType.
  1476.  
  1477. Sun May 30 20:04:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1478.  
  1479.     * data.c (float_arith_driver): Detect division by zero in advance.
  1480.     (arith_driver, Frem): Likewise.
  1481.  
  1482.     * xfns.c (Fx_list_fonts): Handle 0 for FRAME_FACES (f) [face_id]->font.
  1483.  
  1484.     * print.c (Fwith_output_to_temp_buffer): Doc fix.
  1485.  
  1486.     * sysdep.c (wait_for_termination): Delete LINUX conditionals.
  1487.  
  1488.     * s/linux.h (HAVE_TCATTR): Deleted.
  1489.     (BSD): Don't define.
  1490.     (read, write, open, close): Defined.
  1491.     (INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Defined.
  1492.     (C_SWITCH_SYSTEM): Defined.
  1493.  
  1494.     * xterm.c: Include systty.h; don't mess with FIONREAD.
  1495.     Don't include termio.h dorectly.
  1496.  
  1497.     * intervals.c (interval_deletion_adjustment): Delete unreachable abort.
  1498.  
  1499.     * fns.c (Fyes_or_no_p): Delete unreachable UNGCPRO.
  1500.  
  1501.     * keyboard.c (lispy_function_keys): Add `remove' key.
  1502.  
  1503. Sun May 30 19:24:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1504.  
  1505.     * buffer.c (Fgenerate_new_buffer_name): Doc fix.
  1506.  
  1507. Sun May 30 19:10:09 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1508.  
  1509.     * Makefile.in (clean): Delete libXMenu11.a.
  1510.  
  1511. Sun May 30 17:48:11 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1512.  
  1513.     * m/mips.h (KERNEL_FILE): Set this to "/unix".
  1514.     * m/mips4.h (MIPS2): Go ahead and define this.
  1515.     (C_DEBUG_SWITCH): Add -DMips and -g3, and up Olimit to 2000.
  1516.  
  1517. Sun May 30 16:51:56 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1518.  
  1519.     * emacs.c (main) [AIX _I386]: Don't handle SIGIOINT.
  1520.  
  1521.     * lisp.h (UCHAR): Don't define if _UCHAR_T.
  1522.  
  1523.     * m/ibmps2-aix.h (HAVE_GETTIMEOFDAY): Deleted.
  1524.     (HAVE_SETSID, HAVE_TERMIOS): Defined.
  1525.     (HAVE_TERMIO): Add #undef.
  1526.     (SIGNALS_VIA_CHARACTERS): Defined.
  1527.     (C_DEBUG_SWITCH): Make definition empty.
  1528.     (LIBS_DEBUG): Defined.
  1529.     (BROKEN_TIOCGWINSZ, LIB_X11_LIB): Add #undef.
  1530.  
  1531.     * sysdep.c (child_setup_tty) [AIX SIGNALS_VIA_CHARACTERS]: Install
  1532.     something usefull in the VQUIT and VINTR.
  1533.     (emacs_set_tty): Try only 10 times to call tcsetattr.
  1534.     Don't use memcmp to test what it did.
  1535.  
  1536.     * systty.h [HAVE_TERMIOS _AIX _I386]: Include termios before termio.
  1537.  
  1538.     * dispnew.c (buffer_posn_from_coords): Since COL is already
  1539.     window-relative, don't subtract window_left.
  1540.  
  1541. Sun May 30 15:49:17 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1542.  
  1543.     * xfaces.c (unload_color): Don't #include <X11/Intrinsic.h>,
  1544.     <X11/StringDefs.h>, or <X11/Xmu/Drawing.h>.  Just write out
  1545.     "unsigned long" instead of using the "Pixel" typedef; it's in the
  1546.     protocol, so it's not likely to change.
  1547.  
  1548.     * hftctl.c (hft_alrm): Declare and define this to return void, not
  1549.     int; the AIX #include files have prototypes for it.
  1550.  
  1551.     * s/aix3-2.h (LIBS_SYSTEM): Remove -lIM and -liconv from here...
  1552.     * m/ibmrs6000.h (LIBS_MACHINE): They're already here.  Doc fix.
  1553.  
  1554.     * Makefile.in (SUBMAKEFLAGS): Remember to propagate MAKE.
  1555.  
  1556. Sun May 30 14:18:26 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1557.  
  1558.     * s/sunos4-1-3.h: Delete the #undef of SYSTEM_MALLOC.
  1559.  
  1560.     * systty.h [IRIX4]: Include unistd.h.
  1561.  
  1562.     * s/irix4-0.h (IRIX4): Defined.
  1563.     (IRIS_UTIME): #undef this.
  1564.  
  1565.     * xfns.c (Fx_open_connection) [NO_XRM_SET_DATABASE]:
  1566.     Don't call XrmsSetDatabase.
  1567.  
  1568.     * xfaces.c: Fix HPUX conditional syntax.
  1569.  
  1570.     * s/hpux8.h (random, srandom): Defined.
  1571.  
  1572.     * s/usg5-4-2.h: Don't specify s/ dir in #include.
  1573.     * s/usg5-4-2.h (PTY_TTY_NAME_SPRINTF): Defined.
  1574.     (HAVE_SYSV_SIGPAUSE): #undef this.
  1575.  
  1576.     * sysdep.c (wait_for_termination): Add POSIX_SIGNALS alternative.
  1577.  
  1578. Sun May 30 13:01:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1579.  
  1580.     * xfaces.c (init_frame_faces): We have to make sure that face ID's
  1581.     are valid on all frames or no frames; make sure F has allocated
  1582.     faces for any face valid on the selected frame.
  1583.  
  1584.     * s/hpux9.h: New file; don't use the GNU allocator.  Hope we fix
  1585.     this soon.
  1586.  
  1587. Sun May 30 00:15:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1588.  
  1589.     * Version 19.10 released.
  1590.  
  1591. Sat May 29 20:50:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1592.  
  1593.     * keyboard.c (read_key_sequence): If we changed buffers during
  1594.     read_char, go to replay_sequence.
  1595.  
  1596.     * frame.c (Ficonify_frame, Fmake_frame_invisible): 
  1597.     Select some other frame.  Move minibuffer off this frame.
  1598.  
  1599.     * frame.c (Fhandle_switch_frame): Don't call Ffocus_frame.
  1600.     (Fredirect_frame_focus): Call Ffocus_frame here.
  1601.  
  1602.     * xterm.c (x_bitmap_icon): Don't free icon_bitmap;
  1603.     create it if it hasn't been created before.
  1604.  
  1605.     * xterm.c (XTread_socket): For UnmapNotify, if frame was visible,
  1606.     mark it now as iconified.
  1607.     (x_make_frame_invisible): If async_iconic, work does need to be done.
  1608.     Don't let this frame stay highlighted.
  1609.     (x_iconify_frame): Don't let this frame stay highlighted.
  1610.  
  1611.     * s/usg5-4-2.h (sigsetmask): #undef this.
  1612.  
  1613.     * sysdep.c (sys_signal): Use 0, not NULL, to set sa_flags.
  1614.  
  1615. Sat May 29 16:47:12 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1616.  
  1617.     * linux.h (C_OPTIMIZE_SWITCH): Set this to the empty string;
  1618.     configure guesses just fine.
  1619.  
  1620.     * tekXD88.h: New file, from Kaveh Ghazi.
  1621.  
  1622.     * systty.h (CDISABLE): #undef it before re-#defining it.
  1623.  
  1624.     * sysdep.c (sys_siglist): Comment out #endif trailer.
  1625.     * xmenu.c (TRUE, FALSE): Same.
  1626.     * xterm.c (dumprectangle): Same.
  1627.  
  1628.     * emacs.c: Don't include termios.h directly--let systty.h do it.
  1629.  
  1630. Sat May 29 00:26:39 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1631.  
  1632.     * xfaces.c [HPUX]: Include time.h and define __TIMEVAL__.
  1633.  
  1634.     * emacs.c (shut_down_emacs): Maybe close X connection.  New arg NO_X.
  1635.     (Fkill_emacs): Don't close it here.  Pass new arg.
  1636.     (fatal_error_signal): Pass new arg.
  1637.     * xterm.c (x_connection_closed): Pass new arg.
  1638.  
  1639.     * xdisp.c (syms_of_xdisp): Make highlight-nonselected-windows Lisp var.
  1640.     (display_text_line): Obey it.
  1641.     (display_text_line): Really check for just the selected window.
  1642.  
  1643.     * s/usg5-4-2.h: New file.
  1644.  
  1645.     * keyboard.c (menu_bar_items): Save Vinhibit_quit by hand
  1646.     instead of using specbind.
  1647.     (menu_bar_items): Call Fnreverse before restoring Vinhibit_quit.
  1648.  
  1649.     * s/hpux8.h (OLDXMENU_OPTIONS): Add quotations.
  1650.  
  1651.     * m/ibmrt.h (C_SWITCH_MACHINE): Define only if not __GNUC__.
  1652.     (HAVE_FTIME): Defined.
  1653.     (EMACS_BITMAP_FILES): Defined.
  1654.  
  1655.     * xfns.c (Fx_close_current_connection): Clear x_current_display.
  1656.     * xterm.c (XTring_bell): Do nothing if x_current_connection is 0.
  1657.  
  1658.     * buffer.c (reset_buffer): Clear mark_active field here.
  1659.     (reset_buffer_local_variables): Not here.
  1660.     (Fswitch_to_buffer, Fpop_to_buffer): Return the buffer.
  1661.     (Fmove_overlay): Fix data types in last change.
  1662.  
  1663.     * sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0.
  1664.  
  1665.     * process.c (MAXDESC): Get it from FD_SETSIZE if that exists.
  1666.  
  1667.     * s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): 
  1668.     Redefined.
  1669.     (SIGNALS_VIA_CHARACTERS): Defined.
  1670.     [HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined.
  1671.     (MAIL_PROGRAM_NAME): Defined (two alternate definitions).
  1672.  
  1673.     * xfns.c (Fx_list_fonts): Use CHECK_LIVE_FRAME on the frame arg.
  1674.  
  1675. Fri May 28 16:07:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1676.  
  1677.     * s/hpux8.h (LIBX11_SYSTEM): Defined.
  1678.  
  1679.     * ymakefile: Replace config.h as dep with $(config_h).
  1680.     (really-oldXMenu): Use two make vars to pass values
  1681.     of C_SWITCH_... within doublequotes.
  1682.  
  1683.     * xfns.c (x_figure_window_size): Never set PPosition or PSize.
  1684.  
  1685.     * keymap.c (syms_of_keymap): Create global_map 256 slots long.
  1686.     * cmds.c (keys_of_cmds): Predefined 0240-0376 as self-insert.
  1687.  
  1688.     * xterm.c (XTread_socket, case KeyPress) [HPUX]:
  1689.     Recognize the extended function keys.
  1690.  
  1691.     * buffer.c (Fgenerate_new_buffer_name): New arg IGNORE.
  1692.     (Frename_buffer): Pass new arg.
  1693.  
  1694. Fri May 28 00:33:32 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1695.  
  1696.     * keyboard.c (menu_bar_items): Bind Qinhibit_quit to Qt while we
  1697.     call the keymap accessors; this gets called during redisplay.
  1698.  
  1699.     * ymakefile (alloca.o): Call $(CC), not cc.
  1700.  
  1701.     * s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit.
  1702.  
  1703.     * buffer.c (Fmove_overlay): If the overlay is changing buffers,
  1704.     do a thorough redisplay.
  1705.  
  1706.     * xfns.c (x_set_frame_parameters): Use the first
  1707.     position/size parameter we find, not the last.
  1708.  
  1709.     * s/hpux8.h: Don't define HAVE_RANDOM.
  1710.  
  1711.     * config.h.in (UNEXEC_SRC): New macro, set by the configure
  1712.     script.
  1713.     * ymakefile (UNEXEC_SRC): Give it a default value here, and make
  1714.     UNEXEC depend on it.
  1715.  
  1716.     * ymakefile (lispdir): Set this in terms of ${srcdir}.
  1717.  
  1718. Thu May 27 19:47:45 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1719.  
  1720.     * dispnew.c (Fsleep_for): Don't return without waiting when SEC is 0.
  1721.  
  1722.     * emacs.c (syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*.
  1723.  
  1724.     * alloc.c (mark_object): Add debugging code to check for ptr clobbered.
  1725.  
  1726. Thu May 27 02:35:32 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1727.  
  1728.     * Version 19.9 released.
  1729.  
  1730. Thu May 27 02:02:40 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1731.  
  1732.     * keyboard.c (read_char): Correct previous change.
  1733.  
  1734. Thu May 27 01:04:33 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1735.  
  1736.     * systty.h: Always terminate comments, to avoid confusion.
  1737.  
  1738.     * xfns.c: Make resource manager work correctly even when
  1739.     Vinvocation_name has periods and asterisks in it.
  1740.     (Vxrdb_name): New variable.
  1741.     (Fx_get_resource): Use it instead of Vinvocation_name.
  1742.     (Fx_open_connection): Initialize it to a copy of Vinvocation_name,
  1743.     with the dots and stars replaced by hyphens.
  1744.     (syms_of_xfns): staticpro it here.
  1745.  
  1746.     * xfns.c (Fx_get_resource): Use the proper format string when the
  1747.     attribute has been specified.
  1748.  
  1749. Thu May 27 01:09:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1750.  
  1751.     * xfns.c (x_get_resource_string): New function.
  1752.  
  1753.     * ymakefile (ALL_CFLAGS): Put CFLAGS last.
  1754.  
  1755. Wed May 26 19:53:16 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1756.  
  1757.     * s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
  1758.  
  1759.     * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
  1760.     we're using GCC - that's an XLC switch.
  1761.  
  1762.     * s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here.
  1763.  
  1764.     * systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
  1765.     we have those structures, but *don't* define them if we have
  1766.     TERMIOS, whose functions take care of those parameters; that
  1767.     screws up AIX.
  1768.     (struct emacs_tty): Test those symbols, instead of the ioctl
  1769.     commands.
  1770.     * sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
  1771.     init_sys_modes): Same.
  1772.  
  1773.     * config.h.in (HAVE_RENAME): Include an #undef for this, so
  1774.     configure will have something to edit.
  1775.  
  1776. Wed May 26 19:12:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1777.  
  1778.     * window.c (window_loop, case GET_LRU_WINDOW):
  1779.     Get frame's width properly.
  1780.  
  1781.     * xselect.c (x_get_local_selection): If no conversion function
  1782.     exists for the requested type, just return nil.
  1783.  
  1784.     * s/linux.h (HAVE_TCATTR): Defined.
  1785.  
  1786.     * sysdep.c [HAVE_SOCKETS]: Include socket.h, netdb.h.
  1787.     (get_system_name) [HAVE_SOCKETS]: Use gethostbyname.
  1788.  
  1789. Wed May 26 19:00:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1790.  
  1791.     * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
  1792.     LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
  1793.     search paths in these lists; they shouldn't do any harm if they
  1794.     don't have X11R5.
  1795.  
  1796.     * s/aix3-2.h (C_SWITCH_SYSTEM): Don't #define this if we're using
  1797.     GCC.
  1798.  
  1799. Wed May 26 01:09:50 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1800.  
  1801.     * xrdb.c (magic_searchpath_decoder): Fix typos.
  1802.  
  1803.     * xdisp.c (display_text_line): Don't call compute_char_face
  1804.     for a non-X frame.
  1805.  
  1806.     * xfns.c (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted.
  1807.     (syms_of_xfns): Install them only if X11.
  1808.  
  1809.     * ralloc.c (r_alloc_sbrk): Declare already_available as long, not SIZE.
  1810.  
  1811.     * xfns.c (x_set_cursor_type): If arg not recognized, use box cursor.
  1812.  
  1813.     * s/hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld.
  1814.     (HAVE_RANDOM): Defined.
  1815.  
  1816.     * s/hpux.h (rand, srand): Definitions deleted.
  1817.  
  1818.     * keyboard.c (Fcurrent_input_mode): Fix the call to Flist.
  1819.     (make_lispy_event): Fix off-by-1 error with hpos in menu bar.
  1820.  
  1821.     * s/sunos4-1-3.h: New file.
  1822.  
  1823.     * ymakefile (XOBJ) [!HAVE_X_MENU]: Add xfaces.o.
  1824.  
  1825.     * s/irix4-0.h (SIGNALS_VIA_CHARACTERS): Defined.
  1826.  
  1827.     * xterm.c (x_wm_set_size_hint): Don't set hints for max size.
  1828.  
  1829. Tue May 25 11:19:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1830.  
  1831.     * m/ibmrs6000.h (LIBS_MACHINE): Add -lIM and -liconv.
  1832.     (HAVE_GETTIMEOFDAY): Deleted.
  1833.  
  1834.     * sysdep.c (wait_for_termination): Don't use the BSD alternative
  1835.     for LINUX.  Use the UNIPLUS alternative.
  1836.  
  1837.     * keyboard.c (read_char): If kbd_buffer_get_event returns nil,
  1838.     redisplay and retry.
  1839.     (kbd_buffer_get_event): If event is handled here, return nil.
  1840.     (swallow_events): New function.
  1841.     * process.c (wait_reading_process_input): Call that.
  1842.  
  1843.     * ralloc.c (POINTER): Always use char *.
  1844.  
  1845.     * s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
  1846.     (LD_SWITCH_SYSTEM): Delete the -L option, leave just -R.
  1847.  
  1848.     * m/symmetry.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF):
  1849.     Use pty_name, not ptyname.
  1850.  
  1851.     * syntax.c (Fforward_comment): Arg is a Lisp_Object.
  1852.     Convert it to an int.
  1853.  
  1854.     * ymakefile (alloca.o): Get alloca.c and alloca.s from ${srcdir}.
  1855.  
  1856.     * floatfns.c (logb): Don't declare if hpux.
  1857.  
  1858.     * syntax.c (Fforward_comment): Always set point.
  1859.  
  1860.     * s/dgux.h, s/hpux.h, s/esix.h (HAVE_GETTIMEOFDAY): Deleted.
  1861.  
  1862.     * s/irix4-0.h (C_ALLOCA, alloca): Definitions deleted.
  1863.     [!NOT_C_CODE]: Include alloca.h.
  1864.     (NEED_SIOCTL): #undef this.
  1865.  
  1866.     * xterm.h (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW):
  1867.     Fix mismatch in arg names.
  1868.  
  1869.     * xfns.c (Fx_open_connection): Set xrm_option correctly.
  1870.  
  1871. Tue May 25 18:09:03 1993  David J. MacKenzie  (djm@wiki.eng.umd.edu)
  1872.  
  1873.     * xfns.c (x_figure_window_size): Make the default frame coords (0,0).
  1874.  
  1875. Tue May 25 05:15:14 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1876.  
  1877.     * Version 19.8 released.
  1878.  
  1879. Tue May 25 00:52:36 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1880.  
  1881.     * xfns.c: Clear out the old face stuff.
  1882.     (x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
  1883.     Fx_set_face, Fx_get_face): Removed.
  1884.     (syms_of_xfns): Remove defsubr for Fx_set_face.
  1885.  
  1886.     Arrange for font names to get fully resolved - no wildcards.
  1887.     * xfns.c (x_set_frame_parameters): Store the value in the frame
  1888.     parameter alist before we call the setter function, so the setter
  1889.     function can touch up the value if it chooses.
  1890.     (x_set_foreground_color, x_set_background_color): Call
  1891.     recompute_basic_faces, so their GC's will reflect the changes.
  1892.     (x_new_font): Add extern declaration - this returns a Lisp_Object
  1893.     now, the fully resolved font name.
  1894.     (x_set_font): Accept the fully resolved name from x_new_font, and
  1895.     put it in the frame's parameter alist.  Call recompute_basic_faces.
  1896.     * xterm.c (x_new_font): Return the fully resolved font name, Qnil
  1897.     (if no match), or Qt (match, but unacceptable metrics).
  1898.     * xterm.c (x_new_font): Don't call init_frame_faces.
  1899.  
  1900.     * xterm.h: New section for declarations for xfaces.c.
  1901.     (init_frame_faces, free_frame_faces, intern_face,
  1902.     face_name_id_number, same_size_fonts, recompute_basic_faces,
  1903.     compute_char_face, compute_glyph_face): Declare these here.
  1904.     * xfaces.c (same_size_fonts): We can now remove this extern
  1905.     declaration.
  1906.     * xfns.c (face_name_id_number): Likewise.
  1907.     * xterm.c (intern_face): Likewise.
  1908.  
  1909.     * xterm.c (dumpglyphs): Remember that the default faces can have
  1910.     null fonts, too.
  1911.  
  1912.     * xfns.c (Fx_list_fonts): Remember that FACE may not have a font
  1913.     specified.  Don't specify 30000 as the maximum limit on the number
  1914.     of fontns returned  - 2000 is more reasonable. 
  1915.  
  1916.     * xfaces.c (build_face, unload_font, free_frame_faces): Don't
  1917.     forget to block input while making X calls.
  1918.  
  1919.     Treat faces as structures specifying modifications to the frame's
  1920.     parameters, rather than things which need to specify a complete
  1921.     set of parameters by themselves.
  1922.     * xfaces.c (init_frame_faces): Don't set up the two frame display
  1923.     faces by querying the GC - just leave all their fields blank, and
  1924.     call recompute_basic_faces, letting build_face do the work of
  1925.     consulting the frame when necessary.
  1926.     (recompute_basic_faces): New function.
  1927.     (compute_base_faces): New function for obtaining the "identity"
  1928.     for compute_char_face and compute_glyph_face.
  1929.     (compute_char_face, compute_glyph_face): Call it, instead of copying
  1930.     FRAME_DEFAULT_FACE.
  1931.     * xfns.c (x_make_gc): No need to call init_frame_faces here.
  1932.  
  1933.     * xfaces.c (intern_frame_face): This can be static.
  1934.  
  1935.     * dispextern.h (struct face): New field - `copy', to help us with
  1936.     resource allocation.
  1937.     * xfaces.c (free_frame_faces): Do free the first two faces; don't
  1938.     free anything from a face that's a copy.
  1939.     (intern_frame_face): Mark every face we intern as a copy; its
  1940.     resources are actually a combination of the real faces.
  1941.     (Fset_face_attribute_internal): No need to check if we're trying
  1942.     to free one of the frame's GC's; they never enter into the
  1943.     picture.
  1944.  
  1945.     * casetab.c: Fix formatting, so as not to confuse etags.
  1946.  
  1947.     * xfns.c (Fx_list_fonts): New function.
  1948.     (face_name_id_number): Add extern declaration for this.
  1949.     * xfaces.c (face_name_id_number): Make this externally visible,
  1950.     and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
  1951.     (compute_char_face): Call face_name_id_number properly.
  1952.  
  1953.     * xfaces.c (unload_color): Don't free the pixel for now.
  1954.  
  1955.     * xfaces.c (merge_faces): You can't tell if a font is a
  1956.     character-cell font or not by testing whether or not it has a
  1957.     per_char table.  They all do.
  1958.     * xterm.c (x_new_font): Same deal.
  1959.     * xfns.c (Fx_list_fonts): Same deal.
  1960.  
  1961.     * m/iris4d.h: Dyke out the section which specifies how to get the
  1962.     load average.
  1963.  
  1964.     * paths.h (PATH_INFO): New path, to edited by the configuration
  1965.     process.
  1966.     * callproc.c (Vconfigure_info_directory): New variable, used
  1967.     internally by build process.
  1968.     (syms_of_callproc): DEFVAR it and initialize it.
  1969.  
  1970.     * keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last
  1971.     element of the return value, not XSETINT.
  1972.  
  1973. Mon May 24 12:14:41 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1974.  
  1975.     Changes for OSF/1:
  1976.     * mem-limits.h [__osf__ && (__mips || mips)]: #include
  1977.     <sys/time.h> and <sys/resource.h>.
  1978.     (get_lim_data): OSF wants a definition like BSD4_2's.
  1979.     * s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
  1980.  
  1981.     * ymakefile (LIBX): Put LD_SWITCH_X_SITE before the libraries, so
  1982.     it actually has an effect.
  1983.  
  1984.     Some makes can't handle form feed characters in their makefiles.
  1985.     * s/usg5-3.h: Remove form feed.
  1986.     * s/template.h, m/template.h: Remove form feeds.
  1987.  
  1988.     * xfns.c (select_visual): Include the screen number in the
  1989.     template of things XGetVisualInfo must match.
  1990.  
  1991. Mon May 24 17:41:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1992.  
  1993.     * s/dgux.h (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__.
  1994.  
  1995.     * xterm.c (XTread_socket, ConfigureNotify case):
  1996.     Convert from parent window, not Emacs window.
  1997.     (XTread_socket): Handle ReparentNotify events.
  1998.  
  1999.     * m/i860.h: New file.
  2000.  
  2001.     * keyboard.c (lispy_function_keys): Add kp-numlock.  Fix kp-backspace.
  2002.  
  2003. Mon May 24 15:15:41 1993  Thorsten Ohl  (ohl@chico.harvard.edu)
  2004.  
  2005.     * m/next.h (C_SWITCH_MACHINE): Definition deleted.
  2006.  
  2007.     * lread.c: Don't #undef NULL.
  2008.  
  2009. Mon May 24 16:50:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2010.  
  2011.     * buffer.c (Fmake_overlay): Put beg and end in the
  2012.     right order.
  2013.     (Fmove_overlay): If beg and end are markers, make sure they're in
  2014.     the right buffer.
  2015.  
  2016. Mon May 24 15:21:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2017.  
  2018.     * keyboard.c (modify_event_symbol): If a name_table elt is null,
  2019.     generate a name to use.  Don't crash.
  2020.  
  2021.     * fileio.c (Fread_file_name): If input is empty, do return the default
  2022.     even if !insert_default_directory.
  2023.  
  2024.     * xterm.c (XTread_socket): For ConfigureNotify event,
  2025.     translate coordinates if send_event field is false
  2026.     provided the x-coord value is not large.
  2027.  
  2028. Mon May 24 13:42:24 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2029.  
  2030.     * s/irix4-0.h (NO_MATHERR): Defined.
  2031.     * floatfns.c [NO_MATHERR]: Undef HAVE_MATHERR.
  2032.  
  2033. Mon May 24 04:05:22 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2034.  
  2035.     * fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to
  2036.     ro_fsys, not XSTRING (foo).
  2037.  
  2038.     * xterm.c (x_new_font): Reject fonts with varying spacing.  We
  2039.     don't support them yet.
  2040.     * xfns.c (x_set_font): Report the error message properly.
  2041.  
  2042.     * xfns.c (Fx_parse_geometry): No need to call check_x here; it
  2043.     doesn't interact with the server at all, and we need it in order
  2044.     to create our first frame.
  2045.  
  2046. Mon May 24 02:14:58 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2047.  
  2048.     * s/linux.h (HAVE_SETSID): Defined.
  2049.     (HAVE_SOCKETS): Defined.
  2050.  
  2051.     * process.c (create_process): Ignore retval from TIOCSTTY.
  2052.     (sys_siglist) [LINUX]: Don't even declare it.
  2053.  
  2054. Mon May 24 01:11:23 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2055.  
  2056.     * syssignal.h (sys_signal): Declare the second argument to have
  2057.     type signal_handler_t.  We're told this is necessary for Linux.
  2058.  
  2059. Mon May 24 01:01:43 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2060.  
  2061.     * s/dgux.h (NO_GET_LOAD_AVG): Define, if __GNUC__.
  2062.  
  2063. Sun May 23 23:39:35 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2064.  
  2065.     * s/hpux8.h (NO_SIOCTL_H): Defined.
  2066.  
  2067. Sun May 23 23:29:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2068.  
  2069.     * s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.
  2070.  
  2071. Sun May 23 22:27:33 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2072.  
  2073.     * syssignal.h: Don't #include <signal.h>
  2074.     * alloc.c: #include <signal.h>, but before "config.h".
  2075.  
  2076. Sun May 23 18:38:26 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2077.  
  2078.     * xfaces.c (Fset_face_attribute_internal): Don't call unload_font
  2079.     for the frame's own font.
  2080.  
  2081.     * xfns.c (check_x): New function.
  2082.     Call it in almost every Lisp function in this file.
  2083.     (x_set_menu_bar_lines_1): Pass both args in recursive call.
  2084.  
  2085. Sun May 23 21:44:35 1993  Paul Eggert  (eggert@twinsun.com)
  2086.  
  2087.     * editfns.c (Fcurrent_time_zone): Make `am' an int, not long.
  2088.  
  2089. Sun May 23 15:23:05 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2090.  
  2091.     Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
  2092.     * m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
  2093.     using GCC.
  2094.     * m/iris4d.h (NEED_SIOCTL): Move this to...
  2095.     * s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
  2096.     necessary in irix4-0.h.
  2097.     * s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
  2098.     already declares this elsewhere.
  2099.     (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
  2100.     * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
  2101.     s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
  2102.  
  2103.     * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
  2104.     #defines to #undef's, so ../configure knows it should tweak them.
  2105.  
  2106.     * xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not
  2107.     the mouse is over a scroll bar.
  2108.  
  2109.     * xfaces.c (Fset_face_attribute_internal): Don't free the frame's
  2110.     normal_gc or reverse_gc.
  2111.  
  2112.         * keyboard.c (make_lispy_movement): Deal properly with mouse
  2113.     motion outside of all windows.
  2114.  
  2115.     * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
  2116.     can be 24 bits, not just eight.
  2117.  
  2118. Sun May 23 14:03:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2119.  
  2120.     * xterm.c: Move signal.h and stdio.h before config.h.
  2121.  
  2122.     * editfns.c (Fcurrent_time_zone): Assign gmt, instead of init.
  2123.  
  2124. Sat May 22 17:44:54 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2125.  
  2126.         * Version 19.7 released.
  2127.  
  2128.     * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.
  2129.  
  2130.     * puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k,
  2131.     not 196k.  We're actually using ~180k.
  2132.  
  2133.     * editfns.c: #include <sys/types.h>, to get time_t for Eggert's
  2134.     changes.
  2135.  
  2136. Sat May 22 13:59:32 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2137.  
  2138.     * ymakefile (FRAME_SUPPORT): Add mouse.elc, select.elc, scroll-bar.elc.
  2139.  
  2140.     * xdisp.c (display_text_line): Highlight in any frame's sel window.
  2141.  
  2142.     * keyboard.c (modifier_names): Update to match *_modifier in termhooks.
  2143.  
  2144. Sat May 22 03:48:28 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2145.  
  2146.     * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
  2147.     that feature requires more support to work correctly.
  2148.  
  2149.     * keyboard.c (make_ctrl_char): New function.
  2150.     (read_char): Call it.
  2151.     (kbd_buffer_store_event): Call it to see if the new character is
  2152.     the quit or stop character.
  2153.     (make_lispy_event): Call it.
  2154.  
  2155. Fri May 21 23:15:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2156.  
  2157.     * xfns.c (x_window_to_frame): Use XGCTYPE.
  2158.  
  2159. Fri May 21 19:45:18 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2160.  
  2161.     * process.c (Fopen_network_stream): Deal with older systems, which
  2162.     only have the h_addr field in their struct hostent.
  2163.  
  2164.     * systty.h [SYSV_PTYS]: #include <sys/types.h>.  Francesco
  2165.     Potorti` <pot@fly.CNUCE.CNR.IT> says it's necessary on his
  2166.     machine, and it should be harmless.
  2167.  
  2168. Fri May 21 19:41:14 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2169.  
  2170.     * sysdep.c (wait_for_termination): Copy code from 18.59
  2171.     (but sans BSD4_1 alternatives).
  2172.  
  2173. Fri May 21 18:33:21 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2174.  
  2175.     * ymakefile (alloca.o): #define malloc and free to be xmalloc and
  2176.     xfree on the command line of this compilation.
  2177.  
  2178.     * s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed.
  2179.  
  2180.     * s/linux.h: Remove copyright notices by Michael K. Johnson and
  2181.     Rik Faith.  They have both sent in papers now which make their
  2182.     changes public domain.
  2183.  
  2184.     * sysdep.c (sys_suspend): Set synch_process_alive, so that
  2185.     wait_for_termination has something to wait for.
  2186.  
  2187. Fri May 21 16:20:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2188.  
  2189.     * xdisp.c (display_text_line): Highlight only in selected window.
  2190.  
  2191.     * xfns.c (syms_of_xfns): Don't make Lisp vars
  2192.     x-mode-pointer-shape and x-nontext-pointer-shape.
  2193.  
  2194. Thu May 20 23:15:44 1993  Ian Lance Taylor  (ian@cygnus.com)
  2195.  
  2196.     * s/sco4.h (SCO): Don't define (no longer needed).
  2197.     (HAVE_SYS_TIME_H): Don't define (set by configure).
  2198.     (TIME_WITH_SYS_TIME): Define.
  2199.  
  2200. Thu May 20 19:29:55 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2201.  
  2202.     * dispnew.c (preserve_other_columns): Remember to multiply the
  2203.     size argument to bcopy by the size of a glyph.
  2204.  
  2205. Thu May 20 09:43:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2206.  
  2207.     * keyboard.c (read_key_sequence): Reexamine this_command
  2208.     after pre-command-hook runs.
  2209.  
  2210.     * xterm.c (x_find_modifier_meanings): If some keys are meta and alt,
  2211.     make them just meta, not alt.
  2212.  
  2213. Wed May 19 15:12:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2214.  
  2215.     Some time-handling patches from Paul Eggert:
  2216.     * editfns.c (Fcurrent_time_zone): Take an optional argument specifying
  2217.     what (absolute) time should be used to determine the current time zone.
  2218.     Yield just offset and name of time zone, including DST correction.
  2219.     Yield time zone offset in seconds, not minutes.
  2220.     (lisp_time_argument, difftm): New functions.
  2221.     (Fcurrent_time_string): Use lisp_time_argument.
  2222.     * systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
  2223.     EMACS_GET_TZ_NAMES): Remove.
  2224.     * config.h.in: Add HAVE_TM_ZONE.
  2225.  
  2226.     Some more changes from Michael K. Johnson for Linux.
  2227.     * s/template.h: Mention that you should #define HAVE_TERMIO or
  2228.     HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
  2229.     * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
  2230.     tcsetpgrp to *pgid; it's just a status value.
  2231.     * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
  2232.     systems using XFree386, and perhaps is inappropriate in general.
  2233.     * m/intel386.h: #undefine the integer size macros, since the Linux
  2234.     <values.h> file #defines them itself.
  2235.     * mem-limits.h (get_lim_data): Linux has the ulimit call; if it
  2236.     fails, fall back on ULIMIT_BREAK_VALUE.
  2237.     * process.c: Linux needs the WAITTYPE, etc. definitions.
  2238.     * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
  2239.     no need to use SYSV names.
  2240.     * s/linux.h: New file.
  2241.  
  2242.     Some changes from Michael K. Johnson for Linux.
  2243.     * sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
  2244.     #defined.  That lets the system provide it, if it has it.
  2245.     * syssignal.h (sigmask): Only define this if <signal.h> hasn't
  2246.     given us a definition already.
  2247.     * syssignal.h (sys_sigpause): Fix argument in prototype.
  2248.     * sysdep.c (init_signals): The masks are called empty_mask and
  2249.     full_mask, not signal_empty_mask and signal_full_mask.
  2250.     (signal_handler_t): Moved ....
  2251.     * syssignal.h: ... to here.
  2252.     * systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
  2253.     arguments.
  2254.     * emacs.c (main): Don't try to establish signal handlers for
  2255.     SIGBUS and SIGSYS unless they're actually #defined.
  2256.  
  2257.     * systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
  2258.  
  2259.     * xdisp.c (redisplay_window): Compute the scrollbar start and end
  2260.     properly.
  2261.  
  2262. Wed May 19 10:25:56 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2263.  
  2264.     * keyboard.c (Fcurrent_input_mode): Return META as 3-way flag.
  2265.  
  2266. Wed May 19 00:35:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2267.  
  2268.     * fileio.c (Ffind_file_name_handler): Check that FILENAME is a
  2269.     string.
  2270.  
  2271.     * process.c (wait_reading_process_input): Undo change of April
  2272.     29th, since that re-introduces the race condition the comments are
  2273.     warning about.  Call clear_waiting_for_input before calling
  2274.     status_notify, though.
  2275.  
  2276.     * process.c (wait_reading_process_input): Don't forget to call
  2277.     clear_waiting_for_input when we exit the loop because process
  2278.     input has arrived.
  2279.  
  2280.         Changes for Silicon Graphics Iris 5D.
  2281.     * unexelfsgi.c: New file; like unexelf.c, but tolerates program
  2282.     segments above BSS. 
  2283.     * m/iris5d.h: New file.
  2284.     * s/irix5-0.h: New file.
  2285.     * process.c [__sgi] (allocate_pty): Give up immediately if pty is
  2286.     inaccessible.
  2287.  
  2288. Wed May 19 00:16:55 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2289.  
  2290.     * keyboard.c (follow_key): Check char in range before UPPERCASEP.
  2291.  
  2292. Tue May 18 23:27:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2293.  
  2294.     * xfns.c (x_set_menu_bar_lines): Fix typo in last change.
  2295.  
  2296.     * keyboard.c (make_lispy_event): Controlify lower case letters too.
  2297.  
  2298. Tue May 18 18:06:44 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2299.  
  2300.     * xdisp.c (display_text_line): If the newline (or C-m, in
  2301.     selective-display) has a non-default face, apply that face to the
  2302.     remainder of the line, so that the fill occupies the entire line.
  2303.  
  2304.     * xterm.c (x_new_font): Tell the frame display faces about the
  2305.     newly chosen font.
  2306.  
  2307.     Make sure that all the display faces use fonts of the
  2308.     same dimensions as the default face, so as not to confuse the rest
  2309.     of the redisplay code.
  2310.     * xfaces.c (same_size_fonts): New function.
  2311.     (merge_faces): Only merge in a new font from the FROM face if it
  2312.     is the same size as the font in the TO face.
  2313.  
  2314.     * xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
  2315.     menu bars.
  2316.  
  2317.     * keyboard.c (read_key_sequence): Don't lay down an unwind_protect
  2318.     to restore the original buffer until we actually get a mouse click.
  2319.  
  2320.     * window.c (window-dedicated-p): Doc fix.
  2321.  
  2322. Tue May 18 16:05:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2323.  
  2324.     * xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
  2325.     * keyboard.c (make_lispy_event): Controlify here.
  2326.  
  2327. Mon May 17 19:29:17 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2328.  
  2329.     * xdisp.c (redisplay_window): Make the scrollbar reflect the
  2330.     extent of the visible region, not the whole buffer.
  2331.  
  2332.     * xfaces.c (free_frame_faces): Don't free the resources from the
  2333.     first two faces.
  2334.  
  2335.     * lisp.h (malloc, realloc): Declare these to return void *, to
  2336.     avoid conflicts with ANSI header files.
  2337.  
  2338.     * sysdep.c (reset_sys_modes): Test the return value of
  2339.     EMACS_SET_TTY properly.
  2340.     * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
  2341.     values.
  2342.  
  2343. Sun May 16 18:36:32 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2344.  
  2345.     * config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
  2346.     CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
  2347.     since otherwise the autoconf tests in configure.in won't do us
  2348.     much good.
  2349.  
  2350. Sun May 16 09:41:12 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2351.  
  2352.     * buffer.c (overlays_at): New arg EXTEND.
  2353.     (Foverlays_at, Fnext_overlay_change): Pass 1.
  2354.     * xfaces.c (compute_char_face): Pass 0.
  2355.     Try first with small overlay_vec, then use a big enough one.
  2356.  
  2357.     * lread.c (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
  2358.     Set up Qcurrent_load_list.
  2359.     (readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
  2360.     (build_load_history): Do nothing when loading pure files.
  2361.  
  2362.     * xterm.c (dumpglyphs): Create a temporary merged gc
  2363.     when cursor falls on char with non-default face.
  2364.  
  2365.     * xterm.h (x_display): New field cursor_foreground_pixel.
  2366.     * xfns.c (x_set_cursor_color): Set cursor_foreground_pixel.
  2367.  
  2368.     * casefiddle.c (casify_region): Remove mistaken arg to record_change.
  2369.  
  2370. Sat May 15 16:46:05 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2371.  
  2372.     * xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it
  2373.     knows something has changed.
  2374.  
  2375.     * xfaces.c (unload_color): Don't try to unload the standard black
  2376.     or white pixel.
  2377.  
  2378.     More changes from David Mackenzie.
  2379.     * ymakefile (emacs): No need to edit srcdir into a lisp file and
  2380.     then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
  2381.     (crt0.o): Remember that crt0.c is in ${srcdir}.
  2382.  
  2383.         Install David Mackenzie's patches to make ${srcdir} work.
  2384.     * Makefile.in (srcdir, VPATH): Get this value from the top-level
  2385.     Makefile.
  2386.     (xmakefile): Use ${srcdir} to find the files from which we produce
  2387.     xmakefile.  Edit the values for srcdir and VPATH into xmakefile.
  2388.     * ymakefile (srcdir, VPATH): New definitions for the Makefile
  2389.     to edit.
  2390.     (ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and
  2391.     `-I.'.
  2392.     (emacs): Adjust dumping commands to deal with a separate source
  2393.     directory.
  2394.     (${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where
  2395.     to find the source files.
  2396.     (prefix-args): Find the source code in ${srcdir}.
  2397.  
  2398.     * process.c (wait_reading_process_input): If we're running
  2399.     Solaris, it's not necessary to check if we should redeliver SIGIO,
  2400.     according to David Mackenzie.
  2401.     * s/sol2.h: #include "usg5-4.h", and #define const.
  2402.  
  2403.     * systime.h: Borrow CPP sequence from getdate.y to include the
  2404.     proper combination of <time.h> and <sys/time.h>.
  2405.  
  2406. Sat May 15 13:12:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2407.  
  2408.     * window.h (struct window): New slot region_showing.
  2409.     * xdisp.c (mark_window_display_accurate): Set region_showing fields.
  2410.     (redisplay_window): Update region_showing field.
  2411.     (display_text_line): Set region_showing to t if will show one.
  2412.  
  2413.     * xselect.c (Fx_selection_exists_p): Handle nil, t as SELECTION arg.
  2414.     Don't die if SELECTION is not recognized.
  2415.  
  2416.     * dispnew.c (direct_output_forward_char): Just give up
  2417.     if region is being highlighted.
  2418.  
  2419.     * xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion
  2420.     special-case code if the region is or was highlighted.
  2421.     
  2422.     * xfaces.c (compute_char_face): New args REGION_BEG, REGION_END.
  2423.     Don't sort if noverlays is 0 or 1.
  2424.  
  2425.     * dispnew.c (direct_output_for_insert): Pass those args.
  2426.     * xdisp.c (display_text_line): Pass those args,
  2427.     describing the region if the mark is transient and active.
  2428.  
  2429. Fri May 14 18:54:54 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2430.  
  2431.     * buffer.c (Fmove_overlay): If the overlay is in no buffer and the
  2432.     BUFFER argument has been omitted, put it in the current buffer,
  2433.     for symmetry with move-marker.
  2434.  
  2435.     * buffer.c (Fdelete_overlay): Make the overlay's markers point
  2436.     nowhere, not at 1.  Do this after calling redisplay_region, so
  2437.     that code knows what section has changed.
  2438.  
  2439. Fri May 14 11:49:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2440.  
  2441.     * xdisp.c (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
  2442.     * keyboard.c (command_loop_1): Don't do it here.
  2443.  
  2444.     * keymap.c (access_keymap): Handle any length vector.
  2445.     (store_in_keymap): Likewise.
  2446.     (Fcopy_keymap): Likewise.
  2447.  
  2448. Fri May 14 11:30:40 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2449.  
  2450.     * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,
  2451.     Foverlay_properties): Functions moved here from subr.el.
  2452.  
  2453. Thu May 13 15:30:59 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2454.  
  2455.     * xfaces.c (compute_char_face): When merging the overlays,
  2456.     traverse sortvec, not overlay_vec; the latter isn't the one we
  2457.     sorted.
  2458.  
  2459.     * xterm.c (dumpglyphs): Give the cursor higher priority than the
  2460.     face specified by the glyph under it.
  2461.  
  2462.     * xterm.c (dumpglyphs): Move the underline up a row.  I dislike
  2463.     the way X addresses pixels.  Quickdraw is much nicer.
  2464.  
  2465.     * xfaces.c (intern_face): If the face has a GC, but it's not the
  2466.     default or modeline face, abort.  Nothing but those two faces
  2467.     should have a GC *and* be passed to intern_face.
  2468.     (compute_char_face, compute_glyph_face): After copying
  2469.     the frame's default face into face, to use as a base case for
  2470.     calculation, set the `gc' member to zero; that way we don't have
  2471.     things lying around that look like display faces but aren't.
  2472.  
  2473.     * xfaces.c (intern_frame_face): When copying the new face into the
  2474.     frame's face array, remember that the number of bytes to copy is
  2475.     sizeof (*new_face), not sizeof (new_face).
  2476.  
  2477.     * xfaces.c (compute_char_face): Assume that W is displaying the
  2478.     current buffer.  Abort if it isn't.
  2479.  
  2480.     * lisp.h (Lisp_Overlay): New tag.
  2481.     (OVERLAYP): New predicate.
  2482.     (CHECK_OVERLAY): New type-checker.
  2483.     (Qoverlayp): New extern declaration.
  2484.     * buffer.c (Foverlayp): New function.
  2485.     (Qoverlayp): New atom.
  2486.     (overlays_at, recenter_overlay_lists): Abort if we encounter an
  2487.     invalid overlay.
  2488.     (syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
  2489.     (Fdelete_overlay): Set the overlay's markers to point nowhere.
  2490.     Use CHECK_OVERLAY instead of signalling a special error.
  2491.     (Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
  2492.     signalling a special error.
  2493.     (Foverlay_get): Use CHECK_OVERLAY.
  2494.     * fns.c (internal_equal): Define this for overlays.
  2495.     * buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
  2496.     * print.c (print): Give overlays their own print syntax.
  2497.     * alloc.c (mark_object): Treat overlays like conses.
  2498.  
  2499.     * lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
  2500.     is not defined.
  2501.  
  2502.     * buffer.c (Foverlay_get): Return Qnil if the requested property
  2503.     is missing from the property list.
  2504.  
  2505.         The text property routines can now modify buffers other
  2506.     than the current one.
  2507.     * insdel.c (modify_region): New argument BUFFER.  Select that
  2508.     buffer while we prepare for the modification, and switch back when
  2509.     we're done.
  2510.     * textprop.c (add_properties, remove_properties): Pass
  2511.     the buffer being modified as the first argument to modify_region.
  2512.     * editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
  2513.     current_buffer as the first argument to modify_region.
  2514.     * casefiddle.c (casify_region): Same.
  2515.  
  2516.     * dispnew.c (direct_output_for_insert): Compute the face of the
  2517.     character we're inserting properly.
  2518.  
  2519.     * xterm.c (dumpglyphs): Pass the proper arguments to intern_face.
  2520.  
  2521.     * xterm.c (dumpglyphs): Don't increment left twice.
  2522.  
  2523.     * intervals.c (set_point): Check for point out of bounds before
  2524.     checking for an empty interval tree. 
  2525.  
  2526.     * cmds.c (Fforward_char): Check proposed new position, and then
  2527.     set point, instead of setting point to a potentially invalid
  2528.     position.
  2529.  
  2530.     * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
  2531.     to get the extern declarations for atof.  That's where it is in
  2532.     POSIX.
  2533.  
  2534. Wed May 12 20:58:46 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2535.  
  2536.         * ymakefile (xfaces.o): Add window.h to the dependencies.
  2537.  
  2538.     * xfaces.c (intern_frame_face): Exchange order of arguments, to
  2539.     make callers correct.
  2540.  
  2541.     * xfaces.c (compute_char_face): Notice the next property change
  2542.     location correctly.
  2543.  
  2544.     * xfaces.c (face_name_id_number): Return 0 (the default face) if
  2545.     the name is undefined.
  2546.  
  2547.     * xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
  2548.     is an X frame.
  2549.  
  2550.     * xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
  2551.     (display_text_line): Initialize current_face to zero.   Apply it
  2552.     to characters as we write them to the display matrix.
  2553.     (display_string): Pass the new argument to copy_rope.
  2554.  
  2555.     * xdisp.c (display_text_line): Handle the locations of face
  2556.     changes properly.
  2557.  
  2558.     * textprop.c (Fnext_single_property_change,
  2559.     Fprevious_single_property_change): Pass arguments to textget in
  2560.     the right order.
  2561.  
  2562.     * ymakefile (xfns.o): Remove duplication of buffer.h in dependencies.
  2563.  
  2564.     * ymakefile ($(OLDXMENU)): Remove extraneous call to `rm'.
  2565.  
  2566. Wed May 12 10:44:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2567.  
  2568.     * keymap.c (Faccessible_keymaps): Use whatever size the vector has.
  2569.     (Fwhere_is_internal): Likewise.
  2570.     (describe_vector): Likewise.
  2571.     (current_minor_maps): Call Findirect_function, so symbols
  2572.     can be used in place of actual maps.
  2573.  
  2574.     * xdisp.c (display_text_line): Use break; to exit loop at eol.
  2575.     Duplicate the short MAKE_GLYPH loop after the main loop.
  2576.     If no display table, do obey selective_display_ellipses.
  2577.     (copy_part_of_rope): Arg FROM is now Lisp_Object *.
  2578.  
  2579.     * xfaces.c: Do include window.h.
  2580.     (compute_char_face): Supply third arg of Fget_text_property.
  2581.  
  2582.     * keyboard.c (make_lispy_event): Don't set shift modifier for C-^.
  2583.  
  2584.     * callproc.c (child_setup): Omit duplicates from new env array.
  2585.  
  2586. Mon May 10 16:50:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2587.  
  2588.         * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
  2589.         filesystem being ro, since Solaris 2.1 doesn't.
  2590.         (file-writable-p): Call ro_fsys.
  2591.     * s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
  2592.  
  2593.     * systime.h: Use the strategy from getdate.y to include the proper
  2594.     combination of <time.h> and <sys/time.h>.
  2595.  
  2596.     * xfns.c (Fx_create_frame): Use an XLFD name for the default font,
  2597.     instead of "9x15" or whatever it was.
  2598.  
  2599.     * xdisp.c (display_text_line): Make face-handling code conditional
  2600.     on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
  2601.     but it'll do for now.
  2602.  
  2603.     * xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
  2604.     macro here; that's x-specific.  Just don't pass the second
  2605.     argument.
  2606.     * xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
  2607.     use F's default face.
  2608.  
  2609. Sun May  9 16:10:08 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2610.  
  2611.     * xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
  2612.  
  2613.     * dispextern.h (struct face): Add cached_index member.
  2614.     * xfaces.c (get_cached_face): Use it to avoid unnecessary
  2615.     searches of face_vector.
  2616.  
  2617.     * xfaces.c (intern_face): Renamed from get_display_face.
  2618.  
  2619.     * xfns.c (x_make_gc): After building the GC's for the frame, call
  2620.     init_frame_faces to set up the first two faces.
  2621.     * xfaces.c (init_frame_faces): Don't just try to copy the default
  2622.     and mode line faces from some other random frame; instead, consult
  2623.     the normal_gc and reverse_gc members of the frame, and build the
  2624.     faces based on their parameters.
  2625.  
  2626.     Adjust the face computation functions to return frame face ID's,
  2627.     not pointers to display faces; since we call these functions
  2628.     during display construction, we don't want the display faces yet.
  2629.     * xfaces.c (intern_frame_face): New function.
  2630.     (compute_char_face, compute_glyph_face): Apply intern_frame_face
  2631.     to the computed face, and return the frame face's ID, instead of
  2632.     calling intern_face and returning a pointer to a display frame.
  2633.  
  2634.     * xfaces.c: Describe the facial data structures.  It took me a
  2635.     while to figure them out; perhaps this will save someone else the
  2636.     trouble.
  2637.  
  2638.     Arrange to tell redisplay about changes in overlays.
  2639.     * xdisp.c (redisplay_region): New function.
  2640.     * buffer.c (Fmove_overlay): Call redisplay_region on the areas the
  2641.     overlay has enclosed or left.
  2642.     (Fdelete_overlay): Call redisplay_region on the area the overlay
  2643.     used to occupy.
  2644.     (Foverlay_put): Call redisplay_region on the area the overlay now
  2645.     occupies; we may have put a face property on it.
  2646.  
  2647.     * buffer.c (Fmove_overlay): Doc fix.
  2648.  
  2649.     * xdisp.c (redisplay): If we're doing a thorough redisplay (all
  2650.     windows on all frames involved), go ahead and flush the GC cache -
  2651.     call clear_face_vector.
  2652.  
  2653.     * xdisp.c (display_text_line): Apply faces to characters
  2654.     according to overlays and text properties; use
  2655.     compute_char_face and compute_glyph_face to figure out what
  2656.     face to use, and where a new face starts.
  2657.     * xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
  2658.     which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
  2659.     we're implementing the glyph table properly.  If we're not using
  2660.     the default or mode line face, call intern_face to find a display
  2661.     face for the frame face selected by the glyph code.  Implement
  2662.     underlining.  Remove the `font' argument; we have to derive this
  2663.     from the frame and face anyway.  Change all callers.
  2664.     * disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
  2665.  
  2666.     * xterm.c (x_destroy_window): Call free_frame_faces.
  2667.  
  2668.     The GNU coding standards specify that CFLAGS should be left for
  2669.     users to set.
  2670.     * ymakefile (ALL_CFLAGS): Set this to the long string of
  2671.     compilation switches, not CFLAGS.  Changed all uses.
  2672.     (CFLAGS): Make this default to just -g.
  2673.     (.c.o): Define new default rule, to make sure that the right flags
  2674.     get to the compilations.
  2675.  
  2676. Sun May  9 13:47:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2677.  
  2678.     * keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.
  2679.  
  2680.     * pwd.h: File deleted.
  2681.  
  2682. Sat May  8 23:18:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2683.  
  2684.     * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
  2685.     used by any configuration right now, but he's trying to make it
  2686.     work.
  2687.     #include "sunos4-1.h" instead of "bsd4-2.h".
  2688.     (O_NDELAY): Don't define this.
  2689.     (SYSTEM_MALLOC): Don't define this, either.
  2690.     (LD_SWITCH_SYSTEM): Remove the definition for this.
  2691.  
  2692.     * Makefile.in (DEFS): Remove this; we have configure build a
  2693.     config.h file directly, instead of having lots of -D flags.
  2694.  
  2695.     * Makefile.in (CFLAGS): Don't make this carry DEFS from the
  2696.     configure script; the coding standards say that CFLAGS should be
  2697.     left for the user to tweak.
  2698.  
  2699. Sat May  8 10:54:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2700.  
  2701.     * keyboard.c (do_mouse_tracking): Now static.
  2702.  
  2703.     * xmenu.c (Fx_popup_menu): Add a vector of prefix keys for the panes.
  2704.     (keymap_panes): Allocate that vector.
  2705.     (single_keymap_panes): Fill in that vector.
  2706.     (xmenu_show): Return a list of events, not just one event.
  2707.  
  2708.     * keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
  2709.     to return a list of events.  Don't lose any of them.
  2710.  
  2711.     * xfns.c (Fx_get_mouse_event, Fx_mouse_events): Code deleted.
  2712.     * window.c (Vmouse_event): Var deleted.
  2713.     (syms_of_window): Don't make it a Lisp var.
  2714.  
  2715.         * keyboard.c (read_avail_input, Fset_input_mode): Make
  2716.         meta_key a three-value variable to support 8-bit input.
  2717.  
  2718. Fri May  7 00:06:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2719.  
  2720.     * ymakefile [__GNUC__ && __GNUC__ > 1] (LIB_GCC): Set this even if
  2721.     LINKER is #defined.
  2722.  
  2723.     * ymakefile ($(OLDXMENU)): Remove the link before we re-create it;
  2724.     not all versions of ln have the `-f' flag.  Use the LN_S variable,
  2725.     inherited from src/Makefile.
  2726.  
  2727.     * Makefile.in (LN_S): New variable, edited by top Makefile.
  2728.     (SUBMAKEFILE): New variable, containing all flags to pass to
  2729.     recursive makes.
  2730.  
  2731.     * config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
  2732.     instead of AC_OUTPUT.
  2733.  
  2734.     * xfaces.c (get_display_face): Use face_eql instead of writing it out.
  2735.  
  2736. Thu May  6 15:04:21 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2737.  
  2738.     * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
  2739.     returning a non-ascii key sequence unless FIRSTONLY is the symbol
  2740.     `non-ascii'.
  2741.  
  2742.     * config.h.in: Remove mention of GLYPH datatype; that shouldn't be
  2743.     a user option.
  2744.     * lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
  2745.  
  2746. Thu May  6 13:04:32 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2747.  
  2748.     * xfns.c (x_get_arg): Call Fintern, not intern.
  2749.  
  2750.     * systime.h [SCO]: Include time.h.
  2751.     * s/sco4.h: New file.
  2752.  
  2753.     * ymakefile (LIBXMENU): Delete -loldX.
  2754.  
  2755.     * emacs.c (main): Handle -display like -d.
  2756.  
  2757. Wed May  5 19:56:25 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2758.  
  2759.     * s/template.h: Explain the relative significance of the SIGIO and
  2760.     INTERRUPT_INPUT macros.
  2761.  
  2762.     * ymakefile (buffer.o, insdel.o): Note that these files also
  2763.     depend on blockinput.h.
  2764.  
  2765.     * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
  2766.     defined everywhere this file is #included; merge the two
  2767.     definitions for defined (SIGIO) and ! defined (SIGIO) into one,
  2768.     which calls reinvoke_input_signal if interrupt_input_pending is
  2769.     set.
  2770.     * keyboard.c (reinvoke_input_signal): New function.
  2771.  
  2772. Tue May  4 18:13:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2773.  
  2774.     * window.c (Fdisplay_buffer): Add space to prompt.
  2775.  
  2776. Tue May  4 08:58:06 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2777.  
  2778.     * keyboard.c (syms_of_keyboard): Doc fix for
  2779.     extra-keyboard-modifiers.
  2780.  
  2781.     * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
  2782.     CHAR_META): Shift these all up one bit, back to where they were.
  2783.  
  2784. Sun May  2 21:07:12 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2785.  
  2786.     * keymap.c (Fdefine_prefix_command): Doc fix.
  2787.  
  2788.     * ymakefile (C_DEBUG_SWITCH): Undo April 10 change.
  2789.  
  2790. Sat May  1 09:20:40 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2791.  
  2792.     * keyboard.c (Fsuspend_emacs): Doc fix.
  2793.  
  2794. Fri Apr 30 13:28:13 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2795.  
  2796.     * data.c (Ffset): Refuse to set the function value of t or nil.
  2797.  
  2798. Thu Apr 29 12:00:35 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2799.  
  2800.         Implement extra_keyboard_modifiers properly.
  2801.     * keyboard.c (syms_of_keyboard): Doc fix for
  2802.     extra-keyboard-modifiers; use the same modifier bits as we do for
  2803.     characters.
  2804.     (read_char): Apply all the modifiers in extra_keyboard_modifiers
  2805.     to the input characters, so you can get hyper, super, and the rest
  2806.     of the gang.
  2807.     * xterm.c (x_emacs_to_x_modifiers): New function.
  2808.     (x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
  2809.     consistency.  Callers changed.
  2810.     (XTread_socket): Apply x_emacs_to_x_modifiers to
  2811.     extra_keyboard_modifiers before setting the state member of the
  2812.     event; this will get all the modifiers on ASCII characters.
  2813.  
  2814.     * xterm.c (x_text_icon): Don't call XSetIconName; it should be
  2815.     unnecessary, and perhaps it's killing the icon pixmap.
  2816.  
  2817.     * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
  2818.     case we need them.
  2819.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier,
  2820.     shift_modifier, ctrl_modifier, meta_modifier): Define these in
  2821.     terms of the CHAR_mumble macros, to avoid having the same thing
  2822.     defined in two places.
  2823.  
  2824.     * keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
  2825.     events if they'd only switch to the frame already selected.  This
  2826.     avoids lots of extra switch-frame events when using a separate
  2827.     minibuffer.
  2828.  
  2829. Thu Apr 29 09:11:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2830.  
  2831.     * keyboard.c (Fthis_command_keys): Doc fix.
  2832.  
  2833.     * process.c (wait_reading_process_input): Move the status_notify
  2834.     call before the set_waiting_for_input call.
  2835.  
  2836.     * fileio.c (Fexpand_file_name): Undo last change--too risky for now.
  2837.  
  2838.     * data.c (Fdefine_function): New function (same code as Fdefalias).
  2839.  
  2840. Wed Apr 28 17:08:18 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2841.  
  2842.     * eval.c (do_autoload): Fixed the bug in the autoload-saving code.
  2843.  
  2844. Wed Apr 28 16:36:54 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2845.  
  2846.     * keyboard.c (Fcurrent_input_mode): New function.
  2847.  
  2848. Tue Apr 27 21:59:59 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2849.  
  2850.     * eval.c (un_autoload): Don't try to save old autoload forms when
  2851.     we load something in.  Something about the code now conditioned
  2852.     out by UNLOAD was screwing up ordinary autoloads, notably of
  2853.     picture.el.  When I figure out what, I'll fix and re-enable this
  2854.     code.
  2855.  
  2856. Tue Apr 27 12:03:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2857.  
  2858.     * buffer.c (syms_of_buffer): Doc fix for buffer-display-table.
  2859.  
  2860.     * systime.h: Doc fix.
  2861.     (EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
  2862.     millisecond.  What's three orders of magnitude between friends?
  2863.     * dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
  2864.     `milliseconds' argument by 1000 to get microseconds.
  2865.  
  2866. Mon Apr 26 21:54:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2867.  
  2868.     * fileio.c (Fexpand_file_name):
  2869.     Don't remove trailing / from NEWDIR if just "/".
  2870.  
  2871. Mon Apr 26 13:29:53 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2872.  
  2873.     * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
  2874.     m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
  2875.     configure script.
  2876.     * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
  2877.     derived by configure script.
  2878.  
  2879.     Arrange for Fy_or_n_p to put off switch-frame events.
  2880.     * lread.c (read_filtered_char): New function, which contains the
  2881.     code which used to be in Fread_char, Fread_event, and
  2882.     Fread_char_exclusive; there was a lot of common code.
  2883.     (Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
  2884.     of read_filtered_char.
  2885.     * lisp.h (read_filtered_char): Declare this extern here.
  2886.     * fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
  2887.     switch-frame events.
  2888.  
  2889.     * keyboard.c (read_key_sequence): Let the `modifiers' variable in
  2890.     the code which deals with KEY being unbound be an int, not a
  2891.     Lisp_Object.
  2892.  
  2893.     * config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we
  2894.     should exclude the getenv declaration; instead, test NOT_C_CODE.
  2895.     Per suggestion from Francesco Potorti`.
  2896.     * ymakefile (NOT_C_CODE): Define this; it's true, and useful.
  2897.  
  2898.     * dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
  2899.     floating point value.
  2900.  
  2901. Mon Apr 26 05:15:13 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2902.  
  2903.     * sysdep.c (read_pending_input):
  2904.     Fix the garbaged-modifiers bug under System Vs previous
  2905.     to r4.
  2906.  
  2907. Sun Apr 25 19:00:03 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2908.  
  2909.     * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
  2910.     functions in sysdep.c.
  2911.     * sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
  2912.  
  2913.     * sysdep.c (emacs_set_tty): Call tcsetattr over and over again
  2914.     until it does all of what we ask it to, or returns an error.
  2915.  
  2916.     * search.c (Freplace_match): Arrange for markers sitting at the
  2917.     beginning or end of the original text to float to the
  2918.     corresponding position in the replacement text.
  2919.  
  2920. Sun Apr 25 06:15:18 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2921.  
  2922.     * window.c (Fset-window-buffer):
  2923.     Set horizontal-scrolling on a window to zero when
  2924.     we connect it to a new buffer.
  2925.  
  2926.     * buffer.c: Doc fix.
  2927.  
  2928. Sat Apr 24 18:19:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2929.  
  2930.     Make the modifier manipulation functions more robust.  The old way
  2931.     caused a bug once, and probably would again.
  2932.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier,
  2933.     shift_modifier, ctrl_modifier, meta_modifier): Shift these all
  2934.     down one bit in value, to avoid sign extension problems.
  2935.     * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
  2936.     * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
  2937.     what our table of modifier names can handle.
  2938.     (apply_modifiers): Don't abort if you see extra modifier bits,
  2939.     just remove them.
  2940.  
  2941. Fri Apr 23 03:40:03 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2942.  
  2943.     * data.c (Fdefine_function):
  2944.     Changed name back to Fdefalias, so we get things
  2945.     in a known-good state.
  2946.  
  2947.     * buffer.h (BUF_NARROWED, NARROWED):
  2948.     New macros to test whether a region
  2949.     restriction has narrowed the buffer.
  2950.  
  2951. Sat Apr 17 06:45:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2952.  
  2953.     * systime.h: Comment fixes.
  2954.  
  2955.     * data.c (Fdefine_function): New function.
  2956.  
  2957.     * lisp.h (LOADHIST_ATTACH): New macro.
  2958.     (Vcurrent_load_list, Vload_history): Vars declared.
  2959.  
  2960.     * eval.c: (defun, defmacro, defvar, defconst):
  2961.     Attach symbol argument to the list of globals for the input source.
  2962.     (do_autoload): Save the old autoloads, in case we ever unload.
  2963.  
  2964.     * fns.c (provide, require): Put appropriately-marked
  2965.     conses in the current-globals list.
  2966.  
  2967.     * lread.c (readevalloop):
  2968.     New argument is the source file name (or nil if none).
  2969.     All calls changed.  Do the two-step
  2970.     necessary to call build_load_history with the correct current-globals
  2971.     list for the current recursion.
  2972.     (build_load_history): New function.
  2973.     (eval_region, eval_buffer): Call readevalloop with new arg.
  2974.     (load_history): New variable.
  2975.  
  2976. Fri Apr 16 19:36:29 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2977.  
  2978.     * lread.c (readevalloop): New argument is the source file name (or
  2979.     nil if none).  All calls changed.  Do the two-step
  2980.     necessary to call build_load_history with the correct current-globals
  2981.     list for the current recursion.
  2982.     (build_load_history): New function.
  2983.     (Feval_region, Feval_buffer): Call readevalloop with new arg.
  2984.     (Vload_history): New variable.
  2985.  
  2986.     * fns.c (Fprovide, Frequire): Put appropriately-marked
  2987.     conses in the current-globals list.
  2988.  
  2989.     * eval.c (Fdefun, Fdefmacro, Fdefvar, Fdefconst):
  2990.     Attach symbol argument to the list of globals for the input source.
  2991.     (do_autoload): Save the old autoloads, in case we ever unload.
  2992.  
  2993.     * data.c (Fdefine_function): New function.
  2994.  
  2995. Fri Apr 16 17:05:30 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2996.  
  2997.     * fileio.c (Fmake_symbolic_link): If a file already exists under
  2998.     the link's filename, delete the file which the link
  2999.     would replace, not the file the link would point at.
  3000.  
  3001.     * config.h.in (volatile): Don't define this to be the empty string
  3002.     if some file has #defined HAVE_VOLATILE.
  3003.  
  3004.     * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
  3005.     ':' elsewhere, just have it default to ':' if not #defined, and
  3006.     #define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
  3007.     * s/vms.h (SEPCHAR): #define this to be ','.
  3008.     * s/template.h (SEPCHAR): Mention this.
  3009.  
  3010. Tue Apr 13 00:36:38 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3011.  
  3012.     * s/vms.h (xfree): #define this to emacs_xfree, to avoid case
  3013.     conflict with XFree; on VMS, external symbols are case-insensitive.
  3014.  
  3015.     * s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
  3016.     that out now.
  3017.  
  3018.     Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
  3019.     * s/mach2.h: copied from the Emacs 18.59 distribution.
  3020.     Don't define NO_REMAP, define START_FILES as
  3021.     `pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
  3022.     default `-lm -lc' (there is no libc on the NeXT).
  3023.     * ymakefile (STARTFILES): Allow config.h to set this value even if
  3024.     ORDINARY_LINK is defined.
  3025.     * unexnext.c: Fix subdirectories for the machine dependent include
  3026.     files for NeXTStep 3.0; #include <mach/mach.h> and
  3027.     <mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
  3028.     (getsectbyname): Remove prototype for this; the system #include
  3029.     files take care of that.
  3030.     (malloc_cookie): New variable.
  3031.     (unexec_doit): Set malloc_cookie to the result returned by
  3032.     malloc_freezedry.
  3033.     * emacs.c (main): Declare malloc_cookie to be extern, so that we can
  3034.     get the value set when we dumped and pass it to malloc_jumpstart.
  3035.     * systime.h: The NeXT has a timezone function.
  3036.  
  3037. Mon Apr 12 21:13:58 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3038.  
  3039.     * ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
  3040.     link in a new version.
  3041.  
  3042.     * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
  3043.     Qoverflow_error, Qunderflow_error): Add extern to these declarations.
  3044.  
  3045. Mon Apr 12 20:38:39 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3046.  
  3047.     * xfaces.c: Don't include Xmu/Drawing.h.
  3048.  
  3049. Sat Apr 10 04:27:26 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3050.  
  3051.     * Makefile.in (xmakefile): Recognize the -O option with a numeric
  3052.     optimization level.
  3053.  
  3054.     * ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
  3055.     higher, use -O99 instead of plain -O.
  3056.  
  3057. Fri Apr  9 02:18:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3058.  
  3059.     * keyboard.c (command_loop_1): Rebuild menu bar if
  3060.     update_mode_lines is set.
  3061.  
  3062.         long_to_cons and cons_to_long are generally useful things; they're
  3063.     needed whether or not X is defined.
  3064.     * xselect.c (long_to_cons, cons_to_long): Moved from here...
  3065.     * data.c    (long_to_cons, cons_to_long): ... to here.
  3066.     * lisp.h    (long_to_cons, cons_to_long): Add extern declaration.
  3067.  
  3068.     * xmenu.c (Qmenu_enable): Definition moved...
  3069.     (syms_of_xmenu): ... along with initialization ...
  3070.     * keyboard.c (Qmenu_enable): ... to here ...
  3071.     (syms_of_keyboard): ... and here.
  3072.  
  3073.     * keyboard.c (kbd_buffer_get_event): If we get a selection clear
  3074.     or selection request event, but we were compiled without the
  3075.     window-system-specific code to handle it, abort.  Don't try to
  3076.     call a function which doesn't exist.
  3077.  
  3078.     * keyboard.c (make_lispy_event): In the code which processes mouse
  3079.     clicks, declare f to be a FRAME_PTR, not a struct frame *; this
  3080.     works when MULTI_FRAME is not #defined.
  3081.  
  3082.     * xfaces.c (sort_overlays): Define this to be static, as declared.
  3083.  
  3084.     * callproc.c (relocate_fd): Make messages string literals, not
  3085.     initialized arrays.
  3086.  
  3087.     * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
  3088.     these extern, not static.  (!)
  3089.  
  3090.     * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
  3091.     old_realloc_hook): Declare that the functions these point to return
  3092.     void *, not void.
  3093.  
  3094.         Adjust for autoconf merger.
  3095.     * config.h.in: Add extra line to top, in case autoconf gets fixed
  3096.     and decides not to add Makefile-style comments to the top of the
  3097.     files it generates which we are forced to lop off.
  3098.     Indicate that the boolean macros here get their definitions via
  3099.     the DEFS Makefile variable.
  3100.     Adjust the operating system and machine #includes to use
  3101.     autoload's @cookies@.
  3102.     (RETSIGTYPE): Give this a default value.
  3103.     (SIGTYPE): Set this from RETSIGTYPE.
  3104.     (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
  3105.     * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
  3106.     (xmakefile): Pass CFLAGS to ${CPP}.
  3107.  
  3108.     * buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
  3109.     arguments.
  3110.     (recenter_overlay_lists): New argument BUF, to use instead of the
  3111.     current buffer.
  3112.     (Foverlay_recenter): Pass the appropriate arguments to
  3113.     recenter_overlay_lists.
  3114.  
  3115.     * buffer.c (Fdelete_overlay): Don't assume that overlay is in the
  3116.     current buffer.  Don't forget to declare the argument a Lisp_Object.
  3117.  
  3118.     * dispnew.c (getenv): Extern declaration deleted; this is done in
  3119.     config.h.
  3120.  
  3121.     * Makefile.in (tagsfiles): Remove external-lisp from this list of
  3122.     files; we're not distributing it, so the normal build process
  3123.     shouldn't depend on it.
  3124.  
  3125.     * dispnew.c (init_display): Compare the return value of getenv to
  3126.     zero before setting display_arg, instead of just using the pointer
  3127.     as a truth value.
  3128.  
  3129. Thu Apr  8 02:53:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3130.  
  3131.     * xdisp.c (message, message1): If noninteractive and
  3132.     cursor_in_echo_area, don't print a newline at end of message.
  3133.  
  3134.     * fns.c (Fy_or_n_p): Echo the answer just once, at exit.
  3135.  
  3136.     * keyboard.c (echo_dash): Do nothing if echoptr is 0.
  3137.  
  3138.     * buffer.c (Fkill_all_local_variables): Store each var's current value
  3139.     in the buffer's alist entry, before reverting to the default value.
  3140.  
  3141. Wed Apr  7 19:53:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3142.  
  3143.     * keyboard.c (apply_modifiers): Fix typo in sanity check.
  3144.  
  3145.     * keyboard.c (interrupt_input_blocked, interrupt_input_pending):
  3146.     Remove `extern' keywords - these are the definitions.
  3147.  
  3148. Wed Apr  7 16:04:23 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3149.  
  3150.     * blockinput.h (UNBLOCK_INPUT): Fix typo.
  3151.     (interrupt_input_blocked): Make this signed int.
  3152.  
  3153.     * search.c (search_buffer): Fix typo in previous change.
  3154.  
  3155.     * insdel.c, buffer.c: Include blockinput.h.
  3156.  
  3157.     * xterm.c: Fix typo in comment delimiter.
  3158.  
  3159. Wed Apr  7 10:42:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3160.  
  3161.     * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
  3162.     of defining LINKER to use cc.
  3163.     * s/aix3-1.h (LINKER): Don't use cc for linking command if we're
  3164.     using GCC.
  3165.     * s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
  3166.  
  3167.     * xterm.c (updating_frame): Declare this extern instead of static,
  3168.     so it's the same variable as the updating_frame in term.c.
  3169.     (XTupdate_begin, XTupdate_end): Don't bother to set
  3170.     updating_frame; the term.c functions take care of that for us.
  3171.  
  3172. Mon Apr  5 17:00:32 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3173.  
  3174.     * s/vms.h (EXEC_SUFFIXES): Add definition for this.
  3175.  
  3176. Wed Mar 31 02:13:22 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3177.  
  3178.     * xfaces.c: Doc fixes.
  3179.  
  3180.     Put interrupt input blocking in a separate file from xterm.h.
  3181.     This isn't specific to X, and it allows us to avoid #including
  3182.     xterm.h in files that don't really have anything to do with X.
  3183.     * blockinput.h: New file.
  3184.     * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
  3185.     UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
  3186.     (x_input_blocked, x_pending_input): Deleted; there are analogs
  3187.     in blockinput.h called interrupt_input_blocked and
  3188.     interrupt_input_pending.
  3189.     * keyboard.c (interrupt_input_blocked, interrupt_input_pending):
  3190.     New variables, used by the macros in blockinput.h.
  3191.     * xterm.c: #include blockinput.h.
  3192.     (x_input_blocked, x_pending_input): Deleted.
  3193.     (XTread_socket): Test and set interrupt_input_blocked and
  3194.     interrupt_input_pending instead of the old variables.
  3195.     * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
  3196.     #include blockinput.h.
  3197.     * eval.c: #include blockinput.h instead of xterm.h.
  3198.     * keyboard.c: #include blockinput.h.
  3199.     (input_poll_signal): Just test
  3200.     interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
  3201.     x_input_blocked.
  3202.  
  3203.     Block the processing of interrupt input while we're manipulating the
  3204.     malloc heap.
  3205.     * alloc.c: (xfree): New function, to make it easy to free things
  3206.     safely.
  3207.     (xmalloc, xrealloc): Block X input while doing the deed.
  3208.     (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
  3209.     instead of free.
  3210.     (uninterrupt_malloc): New function, to install input-blocking
  3211.     hooks into the GNU malloc routines.
  3212.     * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
  3213.     on startup.
  3214.     * alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
  3215.     Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
  3216.     Use xmalloc instead of malloc; don't bother to check if out of
  3217.     memory here.
  3218.     (Fgarbage_collect): Call xrealloc instead of realloc.
  3219.     * buffer.c: Use xmalloc and xfree instead of malloc and free;
  3220.     don't bother to check if out of memory here.
  3221.     (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
  3222.     calls to ralloc routines.
  3223.     * insdel.c: Same.
  3224.     * lisp.h (xfree): New extern declaration.
  3225.     * xfaces.c (xfree): Don't #define this to be free; use the
  3226.     definition in alloc.c.
  3227.     * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
  3228.     xmenu.c, xterm.c: Use xfree instead of free.
  3229.     * hftctl.c: Use xfree and xmalloc instead of free and malloc.
  3230.     * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
  3231.     and malloc.
  3232.     * search.c: Since the regexp routines can malloc, BLOCK_INPUT
  3233.     while runing them.  #include blockinput.h.
  3234.     * sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
  3235.     of free and malloc.  BLOCK_INPUT around routines which we know
  3236.     will call malloc.
  3237.     
  3238.     ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
  3239.     xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
  3240.     these depend on blockinput.h.
  3241.  
  3242.     * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
  3243.     not trying to create modifier masks using integers which are
  3244.     unrepresentable as lisp values.
  3245.  
  3246. Tue Mar 30 16:13:09 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3247.  
  3248.     New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
  3249.     equivalent of /dev/null, and the suffixes used by executable
  3250.     files.  This is simple, and helps people porting Emacs to other
  3251.     operating systems.
  3252.     * process.h (NULL_DEVICE): Give this a default value.
  3253.     * process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
  3254.     (Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
  3255.     * callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
  3256.     Use NULL_DEVICE instead of "/dev/null".
  3257.     * s/vms.h (NULL_DEVICE): #define this.
  3258.  
  3259.     Rename int-to-string to number-to-string, since it can handle
  3260.     floating-point as well as integer arguments.  subr.el defines the
  3261.     former as an alias for the latter.
  3262.     * data.c (Fnumber_to_string): Renamed from Fint_to_string.
  3263.     (wrong_type_argument): Adjust caller.
  3264.     (syms_of_data): Adjust defsubr.
  3265.     * fns.c (concat): Adjust caller.
  3266.     * lisp.h (Fnumber_to_string): Adjust extern declaration.
  3267.     * mocklisp.c (Finsert_string): Adjust caller.
  3268.     * process.c (status_message): Adjust caller.
  3269.  
  3270. Sun Mar 28 02:01:22 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3271.  
  3272.     * systty.h [NO_PTY_H]: Don't include pty.h.
  3273.  
  3274.     * m/delta88k.h [USG5_4]: Alternate defining of LIBS_SYSTEM,
  3275.     LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.
  3276.     (NO_PTY_H): Defined.
  3277.  
  3278.     * fileio.c (Fwrite_region): Don't fail to set visit_file.
  3279.  
  3280.     * keyboard.c (command_loop_1): Clear force_start of selected_window
  3281.     after reading each key sequence.
  3282.     (read_char): Clear Vquit_flag when we return C-g for it.
  3283.  
  3284.     * fileio.c (Fexpand_file_name): Default DEFALT at beginning,
  3285.     before expanding it.  But avoid unneeded or infinite recursive expand.
  3286.  
  3287. Fri Mar 26 03:12:09 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3288.  
  3289.     * editfns.c (Fchar_equal): Don't ignore high bits of character.
  3290.  
  3291.     * fileio.c (Fwrite_region): Set visit_file after expanding file arg.
  3292.     Also expand VISIT arg if specified.
  3293.  
  3294.     * frame.c (make_frame): Init face_alist field.
  3295.  
  3296. Thu Mar 25 18:26:57 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3297.  
  3298.     * xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
  3299.     access the display structure directly.
  3300.  
  3301. Thu Mar 25 01:16:12 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3302.  
  3303.     * ymakefile (xfns.o): Depend on buffer.h.
  3304.  
  3305.     * buffer.h (struct buffer): Field `fieldlist' deleted.
  3306.  
  3307.     * search.c (Freplace_match): Clean up criterion about converting case.
  3308.     If old text has any capitalized words, capitalize new text.
  3309.  
  3310.     * xfaces.c: New file.
  3311.  
  3312.     * ymakefile (XOBJ): Add xfaces.o.
  3313.     (xfaces.o): New target.
  3314.     * emacs.c (main): Call syms_of_xfaces.
  3315.  
  3316.     * buffer.h (OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
  3317.     (OVERLAY_POSITION): Likewise.
  3318.     (searchbuf): Decl deleted--doesn't belong here.
  3319.     Delete include of regex.h for VMS.
  3320.     * dired.c (searchbuf): Declare here.
  3321.  
  3322.     * frame.h (struct frame): New field face_alist.
  3323.     * alloc.c (mark_object): Mark face_alist of a frame.
  3324.  
  3325.     * ymakefile (xselect.o): Depend on dispextern.h.
  3326.  
  3327.     * xterm.h (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
  3328.     (FRAME_MODE_LINE_FACE): New macros.
  3329.     (struct x_display): New fields faces, n_faces.
  3330.  
  3331.     * dispextern.h (struct face): New fields pixmap_h, pixmap_w.
  3332.     Field `font' is now a pointer.
  3333.  
  3334.     * fns.c (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.
  3335.  
  3336. Wed Mar 24 21:10:31 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3337.  
  3338.     * dispnew.c (getenv): Add extern declaration.
  3339.  
  3340.     * ymakefile (really-oldXMenu): Pass C_SWITCH_SITE and
  3341.     C_SWITCH_SYSTEM to the inferior make as separate flags, instead of
  3342.     passing just C_SWITCH_SITE as CFLAGS.
  3343.  
  3344.     * keymap.c (Fkeymapp): Doc fix.
  3345.  
  3346.     * xterm.h (x_focus_frame): Add extern keyword to declaration.
  3347.  
  3348.     * xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
  3349.     * xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
  3350.     * process.c [VMS] (DCL_PROMPT): Remove hack.
  3351.     (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG,
  3352.     WCOREDUMP, WTERMSIG): New dummy definitions.
  3353.     (deactivate_process): Add missing semicolon.
  3354.     * dispnew.c (init_display): Get display name from environment
  3355.     properly on VMS as well as Unix.
  3356.  
  3357. Wed Mar 24 02:56:56 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3358.  
  3359.     * buffer.c (init_buffer_once, reset_buffer):
  3360.     Delete last vestige of fieldlist slot.
  3361.     (Fregion_fields): Finally deleted.
  3362.  
  3363.     * keymap.c (push_key_description): Ignore bits above meta_modifier.
  3364.  
  3365. Tue Mar 23 15:58:18 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3366.  
  3367.     * buffer.c (overlays_at, recenter_overlay_lists): New functions.
  3368.     (Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise.
  3369.     (Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise.
  3370.     (Foverlay_lists, Foverlay_recenter): Likewise.
  3371.  
  3372.     * buffer.h (struct buffer): New fields overlay_center,
  3373.     overlays_before, overlays_after.
  3374.  
  3375. Tue Mar 23 00:54:06 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3376.  
  3377.     * config.h.in (HAVE_XFREE386): New flag, set by configure script.
  3378.     If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate
  3379.     for XFree386.
  3380.     * sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
  3381.     #defined.
  3382.  
  3383.     * config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags.
  3384.     * ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default
  3385.     values.  Include C_SWITCH_X_SITE in CFLAGS, include
  3386.     LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make
  3387.     which builds the X Menu library.
  3388.  
  3389. Mon Mar 22 23:56:55 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3390.  
  3391.     * xfns.c (Fx_parse_geometry): Renamed from Fx_geometry.
  3392.     (Fx_color_defined_p): Renamed from Fx_defined_color.
  3393.     (syms_of_xfns): Adjusted.
  3394.  
  3395. Mon Mar 22 14:50:00 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3396.  
  3397.     * indent.c (current_column, Findent_to, position_indentation): 
  3398.     (Fmove_to_column, compute_motion): Allow tab_width up to 1000.
  3399.  
  3400.     * xdisp.c (display_string, display_text_line):
  3401.     Allow tab_width up to 1000.
  3402.  
  3403.     * keyboard.c (Fsuspend_emacs):
  3404.     Change suspend-hooks back to suspend-hook and make it a normal hook.
  3405.  
  3406.     * s/dgux.h: Decide automatically whether to use COFF or ELF.
  3407.  
  3408. Sun Mar 21 15:08:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3409.  
  3410.     * fns.c (Fy_or_n_p): Handle `recenter' response type.
  3411.  
  3412.     * s/dgux.h (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined.
  3413.  
  3414. Sun Mar 21 01:50:01 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3415.  
  3416.     * frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
  3417.     Doc changed in anticipation of new purpose.
  3418.     (Fselect_frame): Just call Fhandle_switch_frame for now.
  3419.  
  3420. Sun Mar 21 01:36:25 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3421.  
  3422.     * xdisp.c (decode_mode_spec): Handle `%l'.
  3423.     (display_count_lines): New function.
  3424.     (redisplay_window): Update base_line_number and base_line_pos fields.
  3425.     Always update mode line if it's an integer.
  3426.     * window.h (struct window):
  3427.     New fields base_line_number and base_line_pos.
  3428.  
  3429.     * window.c (Fselect_window): Use Fhandle_switch_frame.
  3430.     (Fset_window_configuration): Likewise.
  3431.  
  3432. Sat Mar 20 23:53:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3433.  
  3434.     Use the `visiblity' parameter to determine the initial state of
  3435.     the frame, instead of the `iconic-startup' and
  3436.     `suppress-initial-map' parameters.
  3437.     * xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
  3438.     instead of the Qiconic_startup against Qt.
  3439.     (x_create_frame): Test Qvisibility against Qnil and
  3440.     Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
  3441.     (Qicon): New symbol.
  3442.     (Qiconic_startup, Qsuppress_initial_map): Removed.
  3443.     (syms_of_xfns): Adjusted appropriately.
  3444.  
  3445.     * xfns.c (x_set_visibility): Instead of interpreting only Qt as
  3446.     `make the frame visible' and everything else as `iconify the
  3447.     frame', interpret Qicon as `iconify the frame' and everything else
  3448.     as `make the frame visible.'
  3449.  
  3450.     * xfns.c (x_get_arg): When the type of the resource is `symbol',
  3451.     return `true' and `on' as Qt, and `false' and `off' as Qnil.
  3452.  
  3453. Sat Mar 20 23:25:59 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3454.  
  3455.     * emacs.c (init_cmdargs): Fix simple bug in previous change.
  3456.  
  3457. Sat Mar 20 13:56:25 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3458.  
  3459.     * dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
  3460.     MILLISECONDS, which add, rather than a second argument which says
  3461.     "treat the first argument as milliseconds."
  3462.     (Fsit_for): Same thing.
  3463.     (Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.
  3464.  
  3465.     * process.c (wait_reading_process_input): Doc fix.
  3466.  
  3467.     * systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
  3468.     #defined.
  3469.  
  3470.     * dispnew.c (sit_for): Doc fix.
  3471.  
  3472.     * sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.
  3473.  
  3474.     * callproc.c (child_setup): Make sure that in, out, and err are
  3475.     not less than three.
  3476.     (relocate_fd): New function.
  3477.  
  3478.     * xterm.c (x_term_init): If the X connection is already in file
  3479.     descriptor zero, don't dup it and close the old one.
  3480.  
  3481.     * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
  3482.     Emacs 18.
  3483.  
  3484.     * xfns.c (Fx_open_connection): If we have X11R5, use
  3485.     XrmSetDatabase to set the display's database.  In older versions,
  3486.     just store the value into x_current_display->db.
  3487.     * xterm.h (HAVE_X11R5): Define this where appropriate.
  3488.  
  3489.     * frame.c (Fraise_frame, Flower_frame): Renamed from
  3490.     Fframe_to_front and Fframe_to_back.
  3491.     (syms_of_frame): Adjusted appropriately.
  3492.  
  3493.     * fileio.c (HAVE_FSYNC): Define, if appropriate.
  3494.     (Fwrite_region): Use HAVE_FSYNC.
  3495.     * s-aix3-2.h (HAVE_FSYNC): Define.
  3496.  
  3497.     * emacs.c (Finvocation_name): New function.
  3498.     (Vinvocation_name): New variable.
  3499.     (init_cmdargs): Set it.
  3500.     (syms_of_emacs): defsubr Finvocation_name, staticpro and
  3501.     initialize Vinvocation_name.
  3502.     * lisp.h (Vinvocation_name): New extern declaration.
  3503.     * xterm.c (invocation_name): Variable deleted; use
  3504.     Vinvocation_name now.
  3505.     (x_text_icon, x_term_init): Use Vinvocation_name now instead of
  3506.     invocation_name.
  3507.     (x_term_init): Don't initialize invocation_name.
  3508.     (syms_of_xterm): Don't initialize or staticpro invocation_name.
  3509.     * xfns.c (invocation_name): Remove extern declaration for this.
  3510.     [HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
  3511.     invocation_name.
  3512.     [not HAVE_X11] (Fx_get_default): Same.
  3513.  
  3514. Sat Mar 20 04:20:21 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3515.  
  3516.     * xfns.c (Fx_display_color_p): Renamed from Fx_color_display_p.
  3517.     (syms_of_xfns): Use new name in defsubr.
  3518.  
  3519. Fri Mar 19 00:27:27 1993  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)
  3520.  
  3521.     * Makefile.in (unlock, relock): New productions to assist with
  3522.     version control.
  3523.  
  3524. Fri Mar 19 00:12:27 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3525.  
  3526.     * fileio.c (Fvisited_file_modtime): New function.
  3527.     (Fset_visited_file_modtime): Accept an argument specifying time value.
  3528.     If arg is nil, really use the filename handler.
  3529.  
  3530.     * xselect.c (cons_to_long, long_to_cons): No longer static.
  3531.  
  3532. Thu Mar 18 17:39:35 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3533.  
  3534.     * frame.h (FOR_EACH_FRAME): Change the definition so that
  3535.     FRAME_VAR is a lisp object. 
  3536.     * dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
  3537.     Adjusted appropriately.
  3538.     * xdisp.c (redisplay): Adjusted appropriately.
  3539.  
  3540.     * dispnew.c (Fredraw_frame): Give this appropriate definitions for
  3541.     MULTI_FRAME and non-MULTI_FRAME configurations.
  3542.     (Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
  3543.  
  3544. Thu Mar 18 04:22:47 1993  Richard Stallman  (rms@geech.gnu.ai.mit.edu)
  3545.  
  3546.     * lisp.h (CHECK_LIVE_WINDOW): Use Qlive_window_p.
  3547.  
  3548.     * xfns.c (x_screen): Make this var file scope.
  3549.     (Fx_server_version): Use Fcons, not list3.
  3550.  
  3551. Wed Mar 17 17:32:17 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3552.  
  3553.     * xterm.c (term_get_fkeys): Less klugey version of the last fix.
  3554.  
  3555.     * Makefile.in (versionclean): New production nukes binaries and
  3556.     DOC files, forcing a re-load, re-dump and re-makedoc.
  3557.  
  3558. Wed Mar 17 16:39:50 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3559.  
  3560.     * fileio.c: Doc fix.
  3561.  
  3562. Wed Mar 17 15:06:43 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3563.  
  3564.     * xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
  3565.     display the cursor on garbaged frames.
  3566.  
  3567. Wed Mar 17 08:12:49 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3568.  
  3569.     * term.c (term_get_fkeys) Supply second args for all tgetstr calls.
  3570.  
  3571. Wed Mar 17 02:58:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3572.  
  3573.     * process.c (Fprocess_send_eof): Make sure proc is running.
  3574.  
  3575.     * s/irix4-0.h (_getpty): Declare this, not _get_pty.
  3576.  
  3577. Tue Mar 16 15:25:43 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3578.  
  3579.     * xfns.c (Fx_server_vendor, Fx_server_version, Fx_display_pixel_width)
  3580.     (Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height)
  3581.     (Fx_display_screens, Fx_display_planes, Fx_display_color_cells)
  3582.     (Fx_display_visual_class, Fx_display_backing_store)
  3583.     (Fx_display_save_under): New functions.
  3584.     (x_screen_count, Vx_vendor, x_release, x_screen_height_mm)
  3585.     (x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual)
  3586.     (x_visual_strings): Vars deleted.
  3587.     (Fx_open_connection): Don't init those vars.
  3588.     (syms_of_xfns): Set up new functions.
  3589.     Don't set up those vars as Lisp vars.
  3590.     Nor x-screen-width and x-screen-height.
  3591.  
  3592. Tue Mar 16 00:52:02 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3593.  
  3594.         * cmds.c (overwrite_binary_mode): Deleted; this implements the
  3595.     wrong feature.
  3596.     (Qoverwrite_mode_binary): New variable.
  3597.     (internal_self_insert): If current_buffer->overwrite_mode is
  3598.     `overwrite-mode-binary', do as overwrite_binary_mode used to.
  3599.     (syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
  3600.     Qoverwrite_mode_binary.
  3601.     * buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
  3602.     * buffer.h (struct buffer): Doc fix.
  3603.  
  3604.     Rename `live-window-p' to `window-live-p', for consistency with
  3605.     `frame-live-p'.
  3606.     * window.c (Fwindow_live_p): Renamed from Flive_window_p.
  3607.     * lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
  3608.     (Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
  3609.  
  3610. Tue Mar 16 00:21:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3611.  
  3612.     * xmenu.c (xmenu_show): Do BLOCK_INPUT; unblock just before returning.
  3613.  
  3614.     * xterm.h [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.
  3615.  
  3616. Mon Mar 15 15:15:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3617.  
  3618.     * frame.c (Fframe_height, Fframe_width): Fix doc strings to match
  3619.     those of the multi-frame versions in frame.el.  Accept an optional
  3620.     argument FRAME, also for consistency.
  3621.  
  3622.     * floatfns.c (logb): Add extern declaration for this.
  3623.  
  3624.     * floatfns.c (Flogb): Under SYSV, implement this using frexp.
  3625.  
  3626. Mon Mar 15 00:58:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3627.  
  3628.     * ymakefile (dispnew.o): Depend on termhooks.h.
  3629.  
  3630.     * xmenu.c (list_of_items): Allow strings among the alist items;
  3631.     they make nonselectable lines.
  3632.  
  3633. Sun Mar 14 15:55:32 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3634.  
  3635.     * dired.c (Fdirectory_files): Recompile MATCH (if specified) after
  3636.     expanding the file name and all; those might compile regexp of
  3637.     their own, and change searchbuf.
  3638.  
  3639.     * keyboard.h (internal_last_event_frame): This should be extern,
  3640.     dummy.
  3641.  
  3642.     * fns.c (Fy_or_n_p): Display the answer.
  3643.  
  3644.     Some VMS changes from Richard Levitte <levitte@e.kth.se>:
  3645.     * [VMS] systime.h: Include vmstime.h.  VMS has the timezone
  3646.     variable and the tzname array.
  3647.     * s/vms.h: VMS does have select.
  3648.     mth$dmod is the same as Unix's drem.
  3649.     Use the time functions in vmstime.c.
  3650.     No need to rename the malloc routines if we're using GNU malloc.
  3651.     PURESIZE needs to be 330000.
  3652.     * vmstime.c, vmstime.h: New files.
  3653.     * systty.h: Don't try to initialize extern declarations under VAX C.
  3654.     * vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
  3655.     in PATH_LOADSEARCH.
  3656.     (PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
  3657.     * sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
  3658.     [VMS] (queue_kbd_input): Build events structure correctly.
  3659.     [VMS] (gethostname): New function.
  3660.     [VMS] (getwd): Don't get the PATH environment variable; that's
  3661.     dumb.  Call getcwd.
  3662.  
  3663. Sun Mar 14 13:36:57 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3664.  
  3665.     * xdisp.c (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
  3666.     Fill out line with spaces.
  3667.     Put explicit spaces between items.
  3668.     * keyboard.c (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
  3669.  
  3670.     * window.c (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
  3671.  
  3672.     * keyboard.c (menu_bar_items): Reverse the list when done.
  3673.  
  3674.     * xmenu.c (single_keymap_panes): When storing in ENABLES,
  3675.     check def before enabled.
  3676.  
  3677.     * ymakefile (really-oldXMenu): Renamed from ${oldXMenudir}$(OLDXMENU).
  3678.     Add @true.
  3679.     ($(OLDXMENU)): Depend on really-oldXMenu.
  3680.     The idea is to make sure libXMenu11.a is always updated if nec.
  3681.  
  3682.     * keyboard.c (command_loop_1): Typo calling Qrecompute_lucid_menubar.
  3683.     (read_key_sequence): Likewise.  Also fix call to Vrun_hooks.
  3684.  
  3685. Sat Mar 13 21:12:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3686.  
  3687.     * ymakefile (YMF_PASS_LDFLAGS): Doc fix.
  3688.  
  3689. Sat Mar 13 19:16:45 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3690.  
  3691.     * print.c (PRINTPREPARE): Handle marker that points nowhere.
  3692.  
  3693.     * apollo.h (NO_X_DESTROY_DATABASE): Defined.
  3694.  
  3695.     * undo.c (record_property_change, record_delete, record_insert):
  3696.     Don't make boundary or touch last_undo_buffer if cur buf has no undo.
  3697.  
  3698.     * ymakefile [__GNUC__ > 1]: Delete the conditional for GCC 2.4.
  3699.     [__GNUC__ > 1] (LIB_GCC): Use -print-libgcc-file-name to find libgcc.a.
  3700.     (YMF_FIND_LIBGCC_A): Definitions and uses deleted.
  3701.  
  3702. Sat Mar 13 18:31:05 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3703.  
  3704.     * s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB.
  3705.  
  3706. Sat Mar 13 13:18:37 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3707.  
  3708.     * xterm.c (Xatom_wm_change_state): Define here.
  3709.     * xfns.c (Xatom_wm_change_state): Just declare.
  3710.     (Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
  3711.     (Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
  3712.     (Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
  3713.     (Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
  3714.     (x_begin_selection_own): Decls deleted.
  3715.     (Fx_open_connection): Set up only the wm atoms here.
  3716.     Call Xatoms_of_xselect.
  3717.  
  3718.     * dispnew.c: Include termhooks.h.
  3719.  
  3720.     * frame.h (FRAMEP): Macro deleted.
  3721.  
  3722.     * xselect.c: Total rewrite, derived from Lucid's version.
  3723.  
  3724.     * keyboard.c (kbd_buffer_get_event): Handle selection_clear_event
  3725.     and selection_request_event events.
  3726.  
  3727.     * xterm.c (XTread_socket): Handle NEW_SELECTIONS alternative:
  3728.     queue events for SelectionRequest and SelectionClear;
  3729.     call functions for SelectionNotify and PropertyNotify.
  3730.  
  3731.     * termhooks.h (selection_request_event, selection_clear_event):
  3732.     New event kinds.
  3733.  
  3734.     * xterm.h (SELECTION_EVENT_DISPLAY): New macro.
  3735.     (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
  3736.     (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
  3737.     (SELECTION_EVENT_TIME): New macros.
  3738.     (struct selection_input_event): New structure.
  3739.  
  3740.     * process.c (wait_reading_process_input): New option to wait
  3741.     till a given cons cell has a non-nil car.
  3742.     Delete vipc conditionals.
  3743.  
  3744. Fri Mar 12 22:59:08 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3745.  
  3746.     * ymakefile (YMF_FIND_LIBGCC_A): New macro, to help GCC find
  3747.     libgcc.a even when -nostdlib is in effect.  Define it to be the
  3748.     empty string if nobody else establishes a value for it.
  3749.     (temacs): Include it in the list of flags passed to the linker.
  3750.  
  3751.     * ymakefile (LINKER): If we have GCC 2.4 or later, use the
  3752.     -nostartfiles option instead of -nostdlib.
  3753.     (LIBGCC): Under GCC 2.4 or later, define this to be the empty string.
  3754.  
  3755. Fri Mar 12 15:55:24 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3756.  
  3757.     * xmenu.c (xmenu_show): New arg enable_list.
  3758.     (keymap_panes): New arg enables
  3759.     (single_keymap_panes): New arg enables.  Fill in its contents.
  3760.     (list_of_panes, list_of_items): New arg enables.  Fill in contents.
  3761.     (Fx_popup_menu): Pass enable and enable_list args.
  3762.     (single_keymap_panes): Set enable flag to -1 if cmd definition is nil.
  3763.  
  3764.     * lisp.h (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
  3765.     (COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
  3766.     (WINDOW_CONFIGURATIONP, FLOATP): New macros.
  3767.  
  3768. Fri Mar 12 10:09:07 1993  Paul Eggert  (eggert@twinsun.com)
  3769.  
  3770.     * cmd.c (internal_self_insert): Check that tab_width does not
  3771.     exceed 20, to be consistent with indent.c and xdisp.c.
  3772.  
  3773. Fri Mar 12 15:15:39 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3774.  
  3775.     * term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr.
  3776.     This should have been tgetstr, but I typoed and tigetstr happens
  3777.     to link and even do the right thing if you're on a System V box.
  3778.  
  3779. Fri Mar 12 01:20:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3780.  
  3781.     * keyboard.c (read_key_sequence): Support Vcurrent_menubar
  3782.     and Qactivate_menubar_hook.  Call Qrecompute_lucid_menubar.
  3783.     (syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
  3784.     Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
  3785.  
  3786.     * xmenu.c (Fx_popup_menu): Allow a frame instead of a window, in arg.
  3787.     Use Fcar, Fcdr when extracting from event, to check data types.
  3788.  
  3789. Thu Mar 11 15:20:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3790.  
  3791.     * frame.h (FRAME_MENU_BAR_ITEMS): New macro (two versions).
  3792.     (struct frame): New field menu_bar_items.
  3793.     * alloc.c (mark_object): Mark the menu_bar_items field.
  3794.  
  3795.     * xdisp.c (display_menu_bar): New function.
  3796.     (redisplay_window): Call display_menu_bar.
  3797.  
  3798.     * term.c (tigetstr): Add dummy definition to make Emacs link again.
  3799.  
  3800.     * keyboard.c (syms_of_keyboard): Set up Qmenu_bar.
  3801.     (menu_bar_items): New function.
  3802.     (menu_bar_one_keymap, menu_bar_item): New functions.
  3803.     (make_lispy_event): Handle menu bar events.
  3804.     (read_key_sequence): Make dummy prefix `menu-bar' for menu bar events.
  3805.  
  3806. Thu Mar 11 03:13:56 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3807.  
  3808.     * term.c (fkey_table): Added many more keycap cookies to the
  3809.     fkey_table; it now supports the full intersection of the set of X
  3810.     keysyms and terminfo capabilities.  See my lisp directory
  3811.     ChangeLog entry for this date, and lisp/term/README, for details.
  3812.  
  3813. Thu Mar 11 02:22:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3814.  
  3815.     * floatfns.c (Flogb): Fix use of IN_FLOAT.
  3816.     Fix arg names.  Don't confuse Lisp_Object with integer.
  3817.  
  3818. Thu Mar 11 00:50:47 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3819.  
  3820.     * process.c (process_send_signal): In the TERMIOS code for sending
  3821.     control characters to processes, don't try to return Qnil; just
  3822.     return.
  3823.  
  3824. Thu Mar 11 00:32:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3825.  
  3826.     * dispnew.c (change_frame_size): Handle FRAME_MENU_BAR_LINES.
  3827.  
  3828.     * frame.c (Fframe_parameters): Report menu-bar-lines parm.
  3829.     (syms_of_frame): Set up Qmenu_bar_lines.
  3830.  
  3831.     * frame.h (FRAME_MENU_BAR_LINES): New macro.
  3832.     (struct frame): New field menu_bar_lines.
  3833.  
  3834.     * xfns.c (x_frame_parms): Add elts for visibility and menu-bar-lines.
  3835.     (enum x_frame_parm): Likewise.
  3836.     (x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
  3837.     (x_set_visibility): New function.
  3838.     (Fx_create_frame): Handle menu-bar-lines parm.
  3839.     (x_report_frame_params): Report Qvisibility.
  3840.     (syms_of_xfns): Set up Qvisibility.
  3841.  
  3842.     * keyboard.c (command_loop_1): Typo in last change.
  3843.  
  3844.     * xmenu.c (syms_of_xmenu): Set up Qmenu_enable.
  3845.     (single_keymap_panes): Test menu-enable property of symbol
  3846.     to decide whether to include it in the menu.
  3847.  
  3848. Wed Mar 10 22:47:58 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3849.  
  3850.     * keyboard.c (command_loop_1): Adjust to the fact that display
  3851.     tables are now vectors of vectors, not vectors of strings.
  3852.  
  3853. Wed Mar 10 09:17:39 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3854.  
  3855.     * floatfns.c (Flogb): Undo the change of Feb 22.
  3856.  
  3857.     * ymakefile (OLDXMENU): Don't assume that we have symbolic links
  3858.     available; use `ln -f' instead of `ln -s'.
  3859.  
  3860.     * xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
  3861.     appeared in X11R4; for earlier versions, just access the members
  3862.     of the Display directly.
  3863.  
  3864.     * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
  3865.     we can't test HAVE_X11R4 to see how we should get the resource
  3866.     manager string; cheat.
  3867.  
  3868.     * unexec.c (copy_text_and_data): Error message tweaked.
  3869.  
  3870.     * systime.h (timezone): Add an explicit declaration for this
  3871.     variable under USG 5-4.
  3872.  
  3873.     * sysdep.c (read_input_waiting): Set e.frame_or_window, not
  3874.     e.frame; the latter doesn't exist anymore.
  3875.  
  3876.     * sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't
  3877.     have the data_start symbol defined, so we'll just use the address
  3878.     of environ.
  3879.  
  3880.     * s/usg5-4.h: Changes from Eric Raymond:
  3881.     If we're doing ordinary linking, define LIB_STANDARD appropriately.
  3882.     Give LIBS_DEBUG a null definition; usg5-4 has no -lg.
  3883.     #define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW.
  3884.     #define NSIG, if it's not already defined.
  3885.     #define HAVE_TERMIOS instead of HAVE_TCATTR.
  3886.     Provide our own definition of LIB_X11_LIB.
  3887.  
  3888.     * s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
  3889.     were slightly wrong.
  3890.  
  3891.     * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
  3892.     need to include `-lPW'; that has been merged with `-lc'.
  3893.  
  3894.     * emacs.c (__do_global_ctors, __do_global_ctors_aux,
  3895.     __do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
  3896.     define these if ORDINARY_LINK is #defined; in that case, the
  3897.     standard linking procedure will find definitions for these.
  3898.  
  3899.     * syssignal.h (sigunblock): Add definition which works under SYSVr4.
  3900.     * emacs.c (fatal_error_signal): Unblock the signal which we're
  3901.     handling using sigunblock.
  3902.  
  3903. Tue Mar  9 11:06:26 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3904.  
  3905.     * xfns.c (x_make_gc): Don't forget to block X input around the
  3906.     X calls in this function.
  3907.  
  3908.     * xfns.c [not HAVE_X11R4] (select_visual): It's v->visualid, not
  3909.     x->visualid.  x isn't defined.
  3910.  
  3911.     * m/template.h, s/template.h: Mention that `etc/MACHINES' and
  3912.     `configure' should be updated whenever support for a configuration
  3913.     is added or improved.
  3914.  
  3915.     * process.c [! subprocesses] (wait_reading_process_input):
  3916.     Remember to re-enable polling for input.
  3917.  
  3918.     * keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If
  3919.     we're polling for input, abort; input polling should always be
  3920.     suppressed while we're waiting for input.
  3921.  
  3922.     * keyboard.c (interrupt_signal): Remove extern declaration of
  3923.     Vwindow_system; this is no longer used.
  3924.  
  3925. Tue Mar  9 03:35:20 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3926.  
  3927.     * editfns.c (Fcurrent_time_string): Optional arg specifies time.
  3928.  
  3929.     * keymap.c (Fdefine_key): Use proper meta-bit to clear.
  3930.  
  3931.     * intervals.c (set_point): Check invisibility of following character,
  3932.     not previous character.
  3933.  
  3934.     * floatfns.c (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
  3935.  
  3936.     * floatfns.c: Changes from Lucid.
  3937.     (HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
  3938.     (FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
  3939.     (HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
  3940.     [!HAVE_RINT]: Define rint as macro.
  3941.     (IN_FLOAT): Major rewrite; several alternate versions.
  3942.     (IN_FLOAT2): New macro.
  3943.     (arith_error, range_error, domain_error, domain_error2): New macros.
  3944.     (Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
  3945.     (Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
  3946.     (Ffloor, Fceiling, Fround, Ftruncate): Changed.
  3947.     (Fcube_root): Renamed from Fcbrt.
  3948.     (matherr): New function.
  3949.     (float_error): Only if FLOAT_CATCH_SIGILL.
  3950.  
  3951.     * fns.c (Fy_or_n_p): Use query-replace-map.
  3952.  
  3953.     * keymap.c (access_keymap): Handle ints beyond the ASCII range.
  3954.     (store_in_keymap): Likewise.
  3955.     (Faccessible_keymaps): Use meta_modifier.
  3956.     Use vectors for the key sequences.
  3957.     (Fwhere_is_internal): Use meta_modifier.
  3958.     (append_key): Always return a vector.
  3959.  
  3960.     * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error):
  3961.     (Qoverflow_error, Qunderflow_error): New vars.
  3962.  
  3963.     * data.c (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
  3964.     Qarith_error, Qrange_error, Qdomain_error,
  3965.     Qsingularity_error, Qoverflow_error, Qunderflow_error.
  3966.  
  3967. Mon Mar  8 00:36:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3968.  
  3969.     * systty.h: Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
  3970.     (struct emacs_tty): Separate the struct decl
  3971.     from the EMACS_..._TTY... macro definitions.
  3972.     Use HAVE_TCATTR to decide whether to use `struct termios'.
  3973.  
  3974.     * xfns.c (Fx_pixel_width, Fx_pixel_height): Fns deleted.
  3975.     (syms_of_xfns): Don't install them.
  3976.     (x_user_set_name): Function deleted.
  3977.     (x_char_height, x_char_width): New functions.
  3978.  
  3979.     * frame.c (Fframe_char_height, Fframe_char_width):
  3980.     (Fframe_pixel_height, Fframe_pixel_width):
  3981.     New functions, two versions of each.
  3982.     [MULTI_FRAME] (syms_of_frame): Make them Lisp functions.
  3983.     [!MULTI_FRAME] (syms_of_frame): Likewise.  Also Fselected_frame.
  3984.  
  3985.     * xterm.c (XTread_socket):
  3986.     Don't reverse the chars that XLookupString returns.  Use all of them.
  3987.     Save last 100 chars and keysyms in temp_buffer.
  3988.  
  3989. Sun Mar  7 18:41:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3990.  
  3991.     * buffer.c (syms_of_buffer): Make erase-buffer a disabled command.
  3992.  
  3993. Sun Mar  7 00:30:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3994.  
  3995.     * ymakefile (keyboard.o): Depend on intervals.h.
  3996.     (keymap.o): Depend on termhooks.h.
  3997.  
  3998.     * keyboard.c: Include intervals.h.
  3999.     (read_key_sequence): Use get_local_map.
  4000.  
  4001.     * textprop.c (Fget_text_property): Use textget.
  4002.     (Fnext_single_property_change): Likewise.
  4003.     (Fprevious_single_property_change): Likewise.
  4004.  
  4005.     * intervals.c (textget): Handle categories.
  4006.     (get_local_map): New function.
  4007.     (verify_interval_modification): Call textget correctly.
  4008.  
  4009.     * textprop.c (syms_of_textprop): Set up Qcategory, Qlocal_map.
  4010.     * intervals.h: Declare those vars.  Declare textget, get_local_map.
  4011.  
  4012.     * keymap.c: Include termhooks.h.
  4013.     (push_key_description): Handle all modifiers.
  4014.     Handle large character codes.
  4015.     (Fkey_description): Move the meta bit, if arg is string.
  4016.     (Fsingle_key_description): Don't alter integer value.
  4017.     Make tem long enough.
  4018.  
  4019.     * keyboard.c (read_key_sequence):
  4020.     Use meta_modifier for meta keys when handling function_key_map.
  4021.  
  4022.     * lread.c (syms_of_lread): Set up Qascii_character.
  4023.     (Fread_char, Fread_char_exclusive): Use that property
  4024.     to convert symbols like tab, return, M-return,... to ASCII.
  4025.  
  4026.     * keyboard.c (follow_key): Downcase shift_modifier as well as ASCII.
  4027.     (command_loop_1): Run pre-command-hook and post-command-hook.
  4028.     Set this_command before running pre-command-hook.
  4029.     (syms_of_keyboard): Set up vars for those hooks.
  4030.  
  4031.     * buffer.c (reset_buffer_local_variables): Reset mark_active.
  4032.     (syms_of_buffer): New buffer-local var `mark-active'.
  4033.     (init_buffer_once): Initialize mechanism for it.
  4034.  
  4035. Sat Mar  6 14:54:40 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4036.  
  4037.     * dispnew.c (init_display): Initialize Vwindow_system.
  4038.  
  4039.     * ymakefile (SHELL): No need to set this twice; remove one.
  4040.  
  4041.     * emacs.c (main): SIGIOT isn't defined on all systems; don't set
  4042.     its signal handler unless it is.
  4043.  
  4044.     * sysdep.c (init_baud_rate): Use input_fd, instead of fd; the
  4045.     latter is undefined.
  4046.  
  4047.     * dired.c (NAMLEN): Never use d_nameln to get the length of the
  4048.     directory entry's name; it is used inconsistently.  Always call
  4049.     strlen instead.
  4050.  
  4051. Sat Mar  6 01:18:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4052.  
  4053.     * keyboard.c (syms_of_keyboard): Handle gaps in modifier_names.
  4054.     (modifier_names): Reorder to match termhooks.h.
  4055.  
  4056.     * keyboard.c (parse_modifiers_uncached): Detect `s-', not `super-'.
  4057.     (apply_modifiers_uncached): Make `s-', not `super-'.
  4058.  
  4059.     * lread.c: Include termhooks.h.
  4060.     (read_escape): Handle \H, \A, \s.  Use ..._modifier.
  4061.     * ymakefile (lread.o): Depend on termhooks.h.
  4062.  
  4063.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier):
  4064.     (shift_modifier, ctrl_modifier, meta_modifier):
  4065.     Renumber the bits.
  4066.     * keyboard.c (make_lispy_event): For ASCII event, the ..._modifier
  4067.     bits are the right bits to return.
  4068.  
  4069.     * keyboard.c (lispy_function_keys): Add codes starting at 0xff00
  4070.     and running through 0xffff.
  4071.  
  4072.     * xterm.c (x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask):
  4073.     New variables.
  4074.     (x_find_modifier_meanings): Set them.
  4075.     (x_convert_modifiers): Check for them.
  4076.     (XTread_socket): Handle BackSpace, etc, function keys.
  4077.  
  4078.     * keyboard.c (read_char): Move metabit when fetching from string macro.
  4079.  
  4080.     * callint.c (check_mark): Error if mark is not active.
  4081.  
  4082.     * editfns.c (save_excursion_save): Save mark_active of buffer.
  4083.     (save_excursion_restore): Restore mark_active of buffer.
  4084.     Run activate-mark-hook if it's on, or deactivate-mark-hook
  4085.     if it turns off.
  4086.     (region_limit): Error if mark inactive, if transient-mark-mode.
  4087.  
  4088.     * insdel.c (prepare_to_modify_buffer): Set Vdeactivate_mark.
  4089.  
  4090.     * keyboard.c (command_loop_1): Clear Vdeactivate_mark before cmd.
  4091.     Clear mark_active if command set Vdeactivate_mark.
  4092.     Run deactivate-mark-hook at that time, or activate-mark-hook.
  4093.     (syms_of_keyboard): Define variable deactivate-mark.
  4094.  
  4095.     * buffer.c (syms_of_buffer): New buffer-local var `mark-active'.
  4096.     (init_buffer_once): Initialize mechanism for it.
  4097.  
  4098.     * buffer.h (struct buffer): New field mark_active.
  4099.  
  4100.     * intervals.c (verify_interval_modification): Handle insertions
  4101.     specially.  For non-insertions, check only the chars being changed.
  4102.     `modification-hooks' property is now a list of functions.
  4103.     (set_point): Ignore chars outside current restriction.
  4104.  
  4105.     * textprop.c (Qmodification_hooks): Renamed from Qmodification.
  4106.     (syms_of_textprop): Changed accordingly.
  4107.  
  4108.     * keyboard.c (syms_of_keyboard): New lisp var unread-command-char.
  4109.     (Finput_pending_p): Test unread_command_char.
  4110.     (Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it.
  4111.     (read_char): Fetch from it.
  4112.  
  4113. Fri Mar  5 02:17:23 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4114.  
  4115.     * textprop.c (Fadd_text_properties): Initialize the modified flag.
  4116.     Use a "for (;;)" loop at the end of the function, to indicate that
  4117.     all exiting is taken care of inside the loop.
  4118.     (Fremove_text_properties): Same.
  4119.  
  4120. Fri Mar  5 01:48:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4121.  
  4122.     * ymakefile (LIB_MATH): Delete -lc, since duplicates LIB_STANDARD.
  4123.  
  4124.     * buffer.c (check_protected_fields): Variable deleted.
  4125.     (syms_of_buffer): Delete vars buffer-field-list
  4126.     and check-protected-fields.
  4127.     * insdel.c (check_protected_fields): Delete decl.
  4128.  
  4129.     * disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
  4130.     (DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE.
  4131.     All callers changed. 
  4132.  
  4133.     * xdisp.c (copy_rope): Expect FROM to be a vector.
  4134.     (copy_part_of_rope): New function.
  4135.     (display_string): Expect display table elts to be vectors.
  4136.     * indent.c (current_column, Fmove_to_column, compute_motion):
  4137.     Expect display table elts to be vectors.
  4138.  
  4139.     * alloc.c: (Fmake_rope, Frope_elt): Fns deleted.
  4140.  
  4141.     * lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
  4142.  
  4143.     * lread.c (read_escape): Handle M-, C- and S- for new convention.
  4144.     (read1): Move the meta bit to the right place for a string.
  4145.  
  4146.     * keyboard.c (Fthis_command_keys, Fread_key_sequence):
  4147.     Fix calls to make_event_array.
  4148.  
  4149.     * macros.c (Fend_kbd_macro): Fix call to make_event_array.
  4150.  
  4151.     * alloc.c (make_event_array): Renamed from make_array.
  4152.     Chars that fit in a string are 0...127 and their meta variants.
  4153.  
  4154.     * keyboard.c (make_lispy_event): Put meta and shift modifiers
  4155.     into an integer.
  4156.     (read_avail_input): Set the modifiers field in the events read.
  4157.     (kbd_buffer_get_event): Pass thru integer event untruncated.
  4158.     (read_char): Likewise.
  4159.     (read_key_sequence, read_char): Only -1 means EOF.
  4160.     (kbd_buffer_store_event): Don't ignore 0200 bit in quit char.
  4161.     (follow_key): Use new meta bit flag.
  4162.  
  4163.     * xterm.c (XTread_socket): Set bufp->modifiers for all kinds of keys.
  4164.  
  4165.     * keymap.c (Flookup_key): Use 0x800000 as meta-bit if from vector.
  4166.     (Fdefine_key): Likewise.
  4167.  
  4168. Thu Mar  4 14:48:55 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4169.  
  4170.     * dgux.h (ELF): Handle this parameter.
  4171.     [! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions.
  4172.     (_BSD_TTY_FLAVOR): Don't define if already defined.
  4173.     (C_COMPILER, LINKER, MAKE_COMMAND): New definitions.
  4174.  
  4175. Thu Mar  4 13:01:24 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4176.  
  4177.     * keyboard.c (Fsuspend_emacs): Remember that `suspend-hooks' isn't
  4178.     necessarily bound.
  4179.  
  4180. Thu Mar  4 10:15:47 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  4181.  
  4182.     * Makefile.in (xmakefile): Add missing quote.
  4183.  
  4184. Wed Mar  3 10:11:08 1992  Wilson H. Tien  (wtien at urbana.mcd.mot.com)
  4185.  
  4186.     * unexelf.c (unexec): Move data2 section header up so all section
  4187.     headers will be in ascending order.  This will prevent the unexeced
  4188.     emacs that being processed by other applications (such as strip) 
  4189.     to fail.
  4190.  
  4191. Tue Mar  2 17:18:20 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4192.  
  4193.     * s/isc2-2.h (S_IFLNK): Add #undef.
  4194.     (C_SWITCH_SYSTEM): Add conditional definition.
  4195.     (NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
  4196.     (LIB_STANDARD): Alternate definition if __GNUC__.
  4197.     (SIGTSTP): #undef deleted.
  4198.     (LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.
  4199.     * s/isc3-0.h: New file.
  4200.  
  4201.     * unexelf.c: Handle rounding of section boundaries.
  4202.     (round_up): New function.
  4203.  
  4204. Tue Mar  2 13:39:40 1993  Karl Berry  (karl@cs.umb.edu)
  4205.  
  4206.         * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
  4207.         Define.
  4208.         (HAVE_TIMEVAL): Do not define.
  4209.         (NO_ASM): Only define once.
  4210.  
  4211. Tue Mar  2 00:59:29 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4212.  
  4213.     * print.c (float_to_string): Define buf to be an unsigned char, to
  4214.     match the data field of strings.
  4215.  
  4216.     * keyboard.c (kbd_buffer_get_event): Protect assignment to
  4217.     Vlast_event_frame in a "#ifdef MULTI_FRAME" clause.
  4218.  
  4219.     * syntax.c (describe_syntax_1): Delete excess arg to describe_vector.
  4220.     (check_syntax_table): Delete excess arg to wrong_type_argument.
  4221.  
  4222. Mon Mar  1 22:10:54 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4223.  
  4224.     * buffer.c (buffer-undo-list): Doc fix.
  4225.  
  4226.     * xdisp.c (redisplay): Protect calls to request_sigio and
  4227.     unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined 
  4228.  
  4229.     * cmds.c (Fnewline): Doc fix.
  4230.  
  4231. Mon Mar  1 00:46:05 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4232.  
  4233.     * insdel.c (del_range): Update point before offset_intervals.
  4234.  
  4235.     * intervals.h: Don't include dispextern.h more than once.
  4236.     (INTERVAL_VISIBLE_P): NILP test was backwards.
  4237.  
  4238.     * intervals.c (intervals_equal): Handle one arg null and other not.
  4239.     (set_point): Considerable rewrite.  Handle intervals both
  4240.     before and after the old and new point values.
  4241.     Redo handling of invisible intervals, and of motion hooks.
  4242.     (textget): New function.
  4243.  
  4244.     * textprop.c (Fadd_text_properties, Fremove_text_properties):
  4245.     Add len>0 as condition for main loop.
  4246.     Abort if reach a null interval.
  4247.     (Fset_text_properties): Abort if reach a null interval.
  4248.     (Ftext_properties_at, Fget_text_property):
  4249.     Return nil if POS is end of OBJECT.
  4250.     (add_properties): Use NILP to test result of Fequal.
  4251.     No longer inline.
  4252.     (remove_properties): No longer inline.
  4253.     (set_properties): Total rewrite as function.
  4254.     (validate_interval_range): Don't alter *begin at end of buffer.
  4255.     But do search for a position just before the end.
  4256.     Return null for an empty string.
  4257.  
  4258. Sun Feb 28 13:59:59 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4259.  
  4260.     * Makefile.in (emacs, temacs): Add @true to prevent Make confusion.
  4261.  
  4262.     * lread.c (read1--strings with properties case):
  4263.     Detect end of list, and invalid syntax, using recursive read1 calls.
  4264.  
  4265.     * intervals.c (graft_intervals_into_buffer):
  4266.     create_root_interval needs Lisp object arg.
  4267.     Set tree to new root interval.
  4268.     Don't test TREE_LENGTH if buffer has no intervals.
  4269.     Rearrange code to copy properties so that it really
  4270.     does merge the inserted ones into the inherited ones.
  4271.     (traverse_intervals): Pass `arg' on recursive calls.
  4272.     (split_interval_left): Use new_length as basis for length of new.
  4273.  
  4274.     * print.c (print--string case):
  4275.     Any non-null interval means print intervals.
  4276.     Get rid of var obj1; just use obj.
  4277.  
  4278.     * textprop.c (validate_interval_range): Allow 0 as position in string.
  4279.     Add 1 to specified string positions.
  4280.     (Fprevious_single_property_change): Subtract 1 if object is string.
  4281.     (Fnext_single_property_change): Likewise.
  4282.     (Fprevious_property_change, Fnext_property_change): Likewise.
  4283.  
  4284.     * xterm.c (x_do_pending_expose, XTframe_rehighlight):
  4285.     (x_window_to_scrollbar): Use XGCTYPE.
  4286.  
  4287. Sun Feb 28 00:41:56 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4288.  
  4289.     Use the term `scroll bar', instead of `scrollbar'.
  4290.     * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
  4291.     lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
  4292.     xterm.c, xterm.h: Terminology changed.
  4293.  
  4294.         Don't generate switch-frame events by checking Vlast_event_frame;
  4295.     use a separate variable for that bookkeeping.  In order to
  4296.     generate them properly, we may need to fiddle with it.
  4297.     * keyboard.c (internal_last_event_frame): New variable.
  4298.     (command_loop_1): Check internal_last_event_frame, not
  4299.     Vlast_event_frame.
  4300.     (read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
  4301.     internal_last_event_frame.
  4302.     (kbd_buffer_get_event): Check internal_last_event_frame to decide
  4303.     whether to generate a switch-frame event.  Set Vlast_event_frame
  4304.     after each event.
  4305.     (init_keyboard): Initialize both Vlast_event_frame and
  4306.     internal_last_event_frame.
  4307.     * keyboard.h (internal_last_event_frame): Add extern declaration
  4308.     for this.
  4309.     * frame.c (Vlast_event_frame): Remove external declaration for
  4310.     this.
  4311.     (Fselect_frame): Set internal_last_event_frame to Qnil to force a
  4312.     switch-frame event, not Vlast_event_frame; the latter is supposed
  4313.     to convey information to the user.
  4314.  
  4315.     * keyboard.c (syms_of_keyboard): Doc fix for unread_command_events.
  4316.  
  4317. Fri Feb 26 16:09:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4318.  
  4319.     * keyboard.c (syms_of_keyboard): Doc fix.
  4320.  
  4321. Fri Feb 26 05:06:59 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4322.  
  4323.     * ymakefile (LIBES): Exchange the order of LIB_MATH and
  4324.     LIB_STANDARD, to avoid duplicated symbols under SunOS.
  4325.  
  4326.     * buffer.c (syms_of_buffer): Add the extra argument to the
  4327.     commented-out DEFVAR_PER_BUFFER for `mode-line-format', so
  4328.     make-docfile will find the docstring properly.
  4329.  
  4330. Thu Feb 25 15:03:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4331.  
  4332.     * ymakefile (intervals.o): Dep on intervals.c, not textprop.c.
  4333.  
  4334.     * textprop.c (remove_properties): Call modify_buffer.
  4335.     (add_properties): Likewise.
  4336.  
  4337.     * undo.c (record_property_change): Typo in last change.
  4338.  
  4339.     * cmds.c (syms_of_cmds): Typo in last change.
  4340.  
  4341.     * print.c (print): Never declare OBJ arg as `register'.
  4342.     Special handling for strings with intervals.
  4343.     (print_intervals): New function.
  4344.     * lread.c (read1): Handle reading strings with properties.
  4345.  
  4346.     * intervals.c (traverse_intervals): New arg ARG.
  4347.     * alloc.c (mark_interval): Add ignored arg.
  4348.     (mark_interval_tree): Pass new arg to traverse_intervals.
  4349.  
  4350. Wed Feb 24 23:26:45 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4351.  
  4352.     * xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
  4353.     x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
  4354.     that these can be called during GC; we have to ignore mark bits.
  4355.     * lisp.h (GC_NILP, GC_EQ): New macros to help with that.
  4356.  
  4357.     * print.c (float_to_string): Define buf to be an unsigned char, to
  4358.     match the data field of strings.
  4359.  
  4360.     * lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper
  4361.     around macro.
  4362.  
  4363.     * data.c (Fstring_to_number): Declare p to be an unsigned char, to
  4364.     match the data field of strings.
  4365.  
  4366.     * data.c (Fstring_to_number): Just skip tabs and spaces; don't use
  4367.     the <ctype.h> macros.  The <ctype.h> stuff apparently varies from
  4368.     locale to locale more than we'd like.  Don't include <ctype.h>.
  4369.  
  4370. Wed Feb 24 18:38:45 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4371.  
  4372.     * buffer.c (Ferase_buffer): Added interactive spec.
  4373.  
  4374. Wed Feb 24 03:54:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4375.  
  4376.     * undo.c (Fprimitive_undo): Handle property-change undo entry.
  4377.     (record_property_change): New function.
  4378.  
  4379.     * textprop.c (Fadd_text_properties): Pass new arg to add_properties.
  4380.     (Fremove_text_properties): Likewise.
  4381.     (add_properties, remove_properties): New arg OBJECT.  Record undo info.
  4382.     (Fput_text_property): New function.
  4383.  
  4384.     * buffer.c (syms_of_buffer): Doc fix.
  4385.  
  4386.     * cmds.c (syms_of_cmds): New var `overwrite-binary-mode'.
  4387.     (internal_self_insert): Handle that var.
  4388.  
  4389. Tue Feb 23 13:49:15 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4390.  
  4391.     * keyboard.c (read_avail_input): Args to `kill' were backwards.
  4392.  
  4393. Tue Feb 23 03:35:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  4394.  
  4395.     * alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
  4396.     aligned, not pureptr itself.
  4397.  
  4398.     * emacs.c (fatal_error_signal): Unblock the signal before we try
  4399.     to deliver it to ourselves. #include "syssignal.h" to get the
  4400.     right definitions.
  4401.  
  4402.     * abbrev.c (Fexpand_abbrev): Only copy the text we're going to
  4403.     expand - from wordstart to wordend, not from wordstart to point -
  4404.     into the buffer.  There might be non-word text between wordend and
  4405.     point.
  4406.  
  4407. Tue Feb 23 00:46:43 1993  Richard Stallman  (rms@geech.gnu.ai.mit.edu)
  4408.  
  4409.     * unexec.c (adjust_lnnoptrs): Handle symentry.n_type == 0x2400.
  4410.     (make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.
  4411.  
  4412. Mon Feb 22 01:51:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4413.  
  4414.     * process.c: Make sure we don't miss processes exiting, by having
  4415.     the sigchld handler clear *input_available_clear_time.
  4416.     (wait_reading_process_input): Check for process activity after
  4417.     setting the timeout and calling set_waiting_for_input.
  4418.     (sigchld_handler): If the process which has exited is one we care
  4419.     about, clear *input_available_clear_time.
  4420.  
  4421.     * frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
  4422.     switching frames, to make sure we'll get a switch-frame event.
  4423.     (Vlast_event_frame): Add external declaration for this here.
  4424.  
  4425.     * alloc.c (make_pure_float): Align pureptr according to __alignof,
  4426.     if it's available, or sizeof (struct Lisp_Float) if it's not.
  4427.  
  4428.     * .gdbinit (xprocess): New command.
  4429.  
  4430.     * floatfns.c (Flogb): Always implement this by calling Flog, even
  4431.     on non-USG systems, which supposedly have a logb function.
  4432.     (Fround): Always implement this by calling floor, even on systems
  4433.     that have rint.
  4434.  
  4435.     * process.c (process_send_signal): Use TERMIOS functions in
  4436.     preference to BSD ioctls.  Some systems attempt to provide the BSD
  4437.     functions for backward compatibility, and get it wrong.
  4438.  
  4439.     * data.c (Fstring_to_number): Skip initial spaces, to make Emacs
  4440.     lisp parse consistently on different operating systems.
  4441.     #include <ctype.h> to help with this.
  4442.  
  4443.     * data.c (Fstring_to_int): Rename this to Fstring_to_number, since
  4444.     it parses floats as well as integers.  Fix docstring.
  4445.     (syms_of_data): Fix defsubr.
  4446.     (wrong_type_argument): Change use.
  4447.     (Fint_to_string): Doc fix.
  4448.     * lisp.h (Fstring_to_int): Change extern declaration.
  4449.  
  4450. Mon Feb 22 01:37:03 1993  Charles Hannum  (mycroft@hal.gnu.ai.mit.edu)
  4451.  
  4452.     * ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
  4453.     is not defined.
  4454.     (X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
  4455.     console.
  4456.  
  4457.     * aix3-1.h: Changes from 18.58.
  4458.     (HAVE_TERMIOS): Changed from HAVE_TERMIO.
  4459.     (unix): Define.
  4460.  
  4461.     * sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
  4462.     HAVE_TERMIO.
  4463.  
  4464.     * xrdb.c (getuid): Remove declaration.
  4465.  
  4466.     * systty.h [HAVE_TERMIOS]: Include fcntl.h.
  4467.  
  4468.     * systime.h [_AIX]: Move test outside of previous #if.
  4469.     (EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.
  4470.  
  4471.     * keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
  4472.     HAVE_TERMIO.
  4473.  
  4474.     * aix3-2.h: New file.  Specifies difference between AIX 3.1 and 3.2.
  4475.  
  4476. Sat Feb 20 12:35:48 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  4477.  
  4478.     * keyboard.c (Fsuspend_emacs): Make tem not register.
  4479.  
  4480.     * syntax.c (Fforward_comment): New function.
  4481.  
  4482.     * search.c (Fskip_syntax_backward): New function.
  4483.     (Fskip_syntax_forward): Likewise.
  4484.     (skip_chars): New argument syntaxp.
  4485.  
  4486.     * alloc.c (Fmemory_limit): Doc fix.
  4487.  
  4488. Fri Feb 19 00:43:36 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4489.  
  4490.     * keyboard.c (Fsuspend_emacs): Rename suspend-hook to suspend-hooks
  4491.     and run it manually.
  4492.  
  4493.     * keymap.c (describe_map): Call Fkey_description before build_string.
  4494.  
  4495. Thu Feb 18 01:26:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4496.  
  4497.     * keyboard.c (Fopen_dribble_file): Doc fix.
  4498.  
  4499.     * lread.c (syms_of_lread): Doc fix.
  4500.  
  4501. Thu Feb 18 00:20:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4502.  
  4503.     * textprop.c (Fget_text_property): Fix typo in function's declaration.
  4504.  
  4505.     * floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.
  4506.  
  4507.     * alloc.c: Add description lines to the top of each page.
  4508.  
  4509.     * alloc.c (mark_interval_tree): Remove spurious & in front of
  4510.     function name.
  4511.  
  4512.     * alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
  4513.     other than GCC, which do not allow casts on the LHS of an
  4514.     assignment.
  4515.  
  4516.     * config.h.in: #define USE_TEXT_PROPERTIES by default.
  4517.  
  4518.     * alloc.c (mark_object, mark_buffer): Remove some unused
  4519.     variables.
  4520.  
  4521.     * buffer.c (Fswitch_to_buffer): Pass the correct number of
  4522.     arguments to Fnext_window.
  4523.  
  4524.     * buffer.c (Fbury_buffer): Pass the correct number of arguments to
  4525.     Fother_buffer.
  4526.  
  4527.     * bytecode.c (Fbyte_code): Pass the correct number of arguments to
  4528.     temp_output_buffer_show.
  4529.  
  4530.     * callint.c (Fcall_interactively): Pass the correct number of
  4531.     arguments to wrong_type_argument.
  4532.     * casefiddle.c (caseify_object): Same.
  4533.     * casetab.c (check_case_table): Same.
  4534.     * search.c (Fstore_match_data): Same.
  4535.     * syntax.c (check_syntax_table): Same.
  4536.  
  4537.     * callproc.c (delete_temp_file): Declare this to return
  4538.     Lisp_Object, to smooth type-checking.
  4539.  
  4540.     * data.c (wrong_type_argument): Pass the correct number of
  4541.     arguments to Fstring_to_int.
  4542.  
  4543.     * data.c (arithcompare): Add a default case which aborts, just to
  4544.     make me happy.
  4545.  
  4546.     * dispnew.c (sit_for): Pass the correct number of arguments to
  4547.     gobble_input.
  4548.  
  4549.     * editfns.c (Fmessage): Don't forget to return a value when
  4550.     args[0] == Qnil.
  4551.  
  4552.     * fns.c (Fequal): Call internal_equal to recurse on elements of
  4553.     lists and vectors, not Fequal.
  4554.  
  4555.     * frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
  4556.     not nothing.
  4557.  
  4558.     * keyboard.c (echo_char): Apply XINT to c before passing it to
  4559.     push_key_description.
  4560.  
  4561.     * keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
  4562.     number of arguments to unbind_to.
  4563.     * lread.c (Feval_buffer): Same.
  4564.     * window.c (Fscroll_other_window): Same.
  4565.  
  4566.     * keyboard.c (command_loop_1): Apply XINT to c before passing it
  4567.     to internal_self_insert and direct_output_for_insert.
  4568.  
  4569.     * keyboard.c (make_lispy_movement): Rename the variable `part'
  4570.     declared in the block handling scrollbar movement to `part_sym',
  4571.     to avoid potential conflicts with the argument named `part'.
  4572.     Apparently the semantics of expressions like this are unclear.
  4573.  
  4574.     * keyboard.c (Fread_key_sequence): Backslash the newlines in this
  4575.     docstring.
  4576.     * textprop.c (Fget_text_property): Same.
  4577.  
  4578.     * keymap.c (Fdescribe_vector): Pass the proper number of arguments
  4579.     to describe_vector.
  4580.     * syntax.c (describe_syntax_1): Same.
  4581.  
  4582.     * minibuf.c (Fdisplay_completion_list): Pass the proper number of
  4583.     arguments to Flength.
  4584.     * xmenu.c (list_of_items): Same.
  4585.  
  4586.     * window.c (Fset_window_configuration): Pass the proper number of
  4587.     arguments to Fselect_frame.
  4588.  
  4589.     * xfns.c (x_set_icon_type): Pass the proper number of arguments to
  4590.     x_bitmap_icon.
  4591.  
  4592.     * xterm.c (XTread_socket): Pass the proper number of arguments to
  4593.     construct_mouse_click.
  4594.  
  4595.     * config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
  4596.     const to be the empty string.
  4597.  
  4598.     * config.h.in: If we're not __STDC__, define volatile to be the
  4599.     empty string.
  4600.  
  4601.     * buffer.h: Remove code which #includes "undo.h" if lint is
  4602.     defined.  undo.h no longer exists.
  4603.  
  4604.     * buffer.c (buffer_slot_type_mismatch): Make symbol_name an
  4605.     unsigned char *, to match the type of a string's data.
  4606.  
  4607. Wed Feb 17 22:39:49 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4608.  
  4609.     * process.c (Fstart_process): Jimb's change of December 11
  4610.     had a misplaced paren.  This only became apparent because of
  4611.     jimb's change on February 8 to Fexpand_file_name.
  4612.     * callproc.c (Fcall_process): Ditto.
  4613.  
  4614. Wed Feb 17 16:27:39 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4615.  
  4616.     * callproc.c (init_callproc): Move the initialization of
  4617.     Vprocess_environment to its own function.
  4618.     (set_process_environment): This is that.
  4619.     * emacs.c (main): Call set_process_environment earlier than
  4620.     init_callproc.
  4621.  
  4622. Sun Feb 14 18:07:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4623.  
  4624.     * buffer.c (Frename_buffer): Make prefix arg set UNIQUE.
  4625.  
  4626. Sun Feb 14 08:33:24 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4627.  
  4628.     * xterm.c (x_set_window_size): Call change_frame_size instead of
  4629.     just setting the `rows' and `cols' members of the frame, and
  4630.     leaving the window tree in complete disarray.
  4631.  
  4632.     * dispnew.c (remake_frame_glyphs): When re-allocating the frame's
  4633.     message buffer when echo_area_glyphs is pointing at it, relocate
  4634.     echo_area_glyphs too.  Same for previous_echo_glyphs.
  4635.     * window.h (previous_echo_glyphs): Add extern declaration for this.
  4636.  
  4637.     * frame.c (Fframe_parameters): Report the `minibuffer' parameter of
  4638.     minibufferless frames as nil, not `none'.
  4639.     (Qnone): Remove declaration and initialization for this.  It's not
  4640.     needed anymore.
  4641.     * xfns.c (Qnone): Add them here; we still accept "none" as a valid
  4642.     value for the `minibuffer' parameter.
  4643.  
  4644.     * xfns.c (x_frame_params): Remember that the parameters are called
  4645.     "auto-raise" and "auto-lower", not "autoraise" and "autolower".
  4646.  
  4647.     * xdisp.c (message): Set echo_frame to the frame whose message buf
  4648.     we want to use, not to the message buf itself.
  4649.  
  4650. Sat Feb 13 06:34:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4651.  
  4652.     * textprop.c (Fadd_text_properties): Put OBJECT arg last.
  4653.     Make it optional.
  4654.     (Fset_text_properties, Fremove_text_properties): Likewise.
  4655.     (Fnext_single_property_change, Fprevious_single_property_change): 
  4656.     (Fnext_property_change, Fprevious_property_change): Likewise.
  4657.     (Ferase_text_properties): #if 0.
  4658.     (Fget_text_property): New function.
  4659.  
  4660.     * s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC.
  4661.  
  4662. Sat Feb 13 03:21:57 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4663.  
  4664.     * s/usg5-4.h: #include "usg5-3.h", not "s-usg5-3.h".
  4665.  
  4666. Thu Feb 11 21:04:37 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4667.  
  4668.     * xterm.c (x_io_error_quitter): New function.
  4669.     (x_error_quitter): Note that this is only used for protocol
  4670.     errors now, not I/O errors.
  4671.     (x_term_init): Set the I/O error handler to x_io_error_quitter.
  4672.  
  4673. Thu Feb 11 18:20:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4674.  
  4675.     * editfns.c (Finsert_buffer_substring): Proper error for non-ex buffer.
  4676.     (Fcompare_buffer_substrings): Likewise.
  4677.  
  4678. Wed Feb 10 01:38:55 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4679.  
  4680.     * fileio.c (Fdo_auto_save): If NO_MESSAGE is non-nil, don't tell
  4681.     users that buffers have shrunk a lot.  This is called when Emacs
  4682.     is crashing, so we don't want to run any code that isn't
  4683.     absolutely necessary.  Also, autosave buffers which don't have
  4684.     specially handled autosave file names first.
  4685.  
  4686. Wed Feb 10 01:33:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4687.  
  4688.     * editfns.c (Fcompare_buffer_substrings): Ignore case
  4689.     if case-fold-search is non-nil.
  4690.  
  4691. Mon Feb  8 10:28:52 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4692.  
  4693.     * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding,
  4694.     Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
  4695.     argument ACCEPT_DEFAULT, to control whether this function sees
  4696.     bindings for t.
  4697.     (Fwhere_is_internal, describe_map_tree, describe_map_2,
  4698.     describe_vector): Pass the proper arguments to Flookup_key.
  4699.  
  4700.     * fileio.c (Fexpand_file_name): Pass DEFALT through
  4701.     Fexpand_file_name before using it.
  4702.  
  4703.     * fileio.c (Fexpand_file_name): Doc fix.
  4704.  
  4705. Sun Feb  7 20:26:44 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4706.  
  4707.     * xdisp.c (message): Use the message buffer of the frame we're
  4708.     going to display the message on to format the message, not that of
  4709.     the selected frame.
  4710.  
  4711. Sun Feb  7 00:31:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4712.  
  4713.     * Makefile (emacs, temacs): Add no-op commands to these rules.
  4714.  
  4715.     * dispnew.c (char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT.
  4716.  
  4717.     * editfns.c (Fcompare_buffer_substrings): New function.
  4718.  
  4719. Sat Feb  6 19:23:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4720.  
  4721.     * keyboard.c (extra_keyboard_modifiers): New Lisp var.
  4722.     (read_char): Support ctl and meta bits in extra_keyboard_modifiers.
  4723.     * xterm.c (XTread_socket): Support extra_keyboard_modifiers.
  4724.  
  4725. Fri Jan 29 16:30:56 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  4726.  
  4727.     * window.c (Fscroll_left, Fscroll_right): Don't forget to apply
  4728.     XWINDOW to selected_window before passing it to window_internal_width.
  4729.  
  4730.     * xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative
  4731.     coordinates for the menu position into root-window-relative
  4732.     coordinates.
  4733.  
  4734.     * lread.c (read1): Although digits followed by a '.' are an
  4735.     integer, a single . by itself (like, say, \.) should be a symbol.
  4736.  
  4737. Mon Jan 25 22:04:43 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  4738.  
  4739.     * fns.c (internal_equal): Protect the clause for comparing numbers
  4740.     of different types with a "#ifdef LISP_FLOAT_TYPE".
  4741.  
  4742. Mon Jan 25 15:05:47 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4743.  
  4744.     * s/hpux8.h [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
  4745.     [__GNUC__] (ORDINARY_LINK): Defined.
  4746.  
  4747.     * m/sparc.h [TERMINFO]: Don't define LIBS_TERMCAP.
  4748.  
  4749. Mon Jan 25 11:37:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4750.  
  4751.         `live-frame-p' has become `frame-live-p'.
  4752.     * frame.c (Qlive_frame_p): Renamed to Qframe_live_p.
  4753.     (Flive_frame_p): Renamed to Fframe_live_p.
  4754.     (syms_of_frame): Defsubrs and initializations adjusted.
  4755.     * frame.h (CHECK_LIVE_FRAME): Use Qframe_live_p, not Qlive_frame_p.
  4756.     (Qlive_frame_p): Changed extern declaration to Qframe_live_p.
  4757.  
  4758.     * lread.c (read1): Treat a string of digits ending in a period as
  4759.     an integer.
  4760.  
  4761.     Turn `first-change-function' into `first-change-hook'.
  4762.     * buffer.c (Vfirst_change_function): Renamed to Vfirst_change_hook.
  4763.     (Qfirst_change_hook): New symbol, for passing to Vrun_hooks.
  4764.     (syms_of_buffer): Change DEFVAR; initialize Qfirst_change_hook.
  4765.     * buffer.h (Vfirst_change_function): Renamed to Vfirst_change_hook.
  4766.     (Qfirst_change_hook): Added declaration.
  4767.     * insdel.c (signal_before_change): Change references to
  4768.     Vfirst_change_function, and apply Vrun_hooks to
  4769.     Qfirst_change_hook, instead of just calling Vfirst_change_function
  4770.     directly.
  4771.  
  4772.     x-selection-value has been renamed to x-selection.
  4773.     x-own-selection has been renamed to x-set-selection, and the order
  4774.     of its arguments has been reversed, for consistency with other
  4775.     lisp functions like put and aset.
  4776.     * xselect.c (Fx_own_selection): Rename to Fx_set_selection, 
  4777.     reverse the order of the args, and therefore make the type
  4778.     non-optional.  Doc fix.
  4779.     (Fx_selection_value): Rename to Fx_selection; make the type
  4780.     argument non-optional, for symmetry with Fx_set_selection.  Doc
  4781.     fix.
  4782.     (syms_of_xselect): Adjusted.
  4783.  
  4784.     * xselect.c (Fx_own_selection, Fx_selection_value): Remove "#if
  4785.     0"'ed code which made cut buffers look like a special selection
  4786.     type.
  4787.  
  4788.     * xfns.c (Vx_selection_value): Removed extern declaration for
  4789.     this; it's never used.
  4790.  
  4791.     * data.c (Fcompiled_function_p): Renamed to Fbyte_code_function_p.
  4792.     (syms_of_data): Adjusted.
  4793.  
  4794.     * data.c (Fnumberp, Fnumber_or_marker_p): Use the NUMBERP macro,
  4795.     instead of writing it out.
  4796.  
  4797.     * fns.c (internal_equal): If the operands are both numbers,
  4798.     compare them numerically, so that (equal 1.0 1) => t.
  4799.     Compare Lisp_Compiled objects like vectors.
  4800.  
  4801.     Add lisp functions to raise and lower frames.
  4802.     * termhooks.h (frame_raise_lower_hook): New hook.
  4803.     * term.c (frame_raise_lower_hook): Define it.
  4804.     * frame.c (Fframe_to_front, Fframe_to_back): New functions.
  4805.     (syms_of_frame): defsubr them.
  4806.     * xterm.c (XTframe_raise_lower): New function.
  4807.     (x_term_init): Set frame_raise_lower_hook to XTframe_raise_lower.
  4808.  
  4809.     * frame.c: Doc fixes.
  4810.  
  4811. Sun Jan 24 16:28:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4812.  
  4813.     Make the cursor style a frame parameter.
  4814.     * xterm.h (struct x_display): Rename the `text_cursor_kind' member
  4815.     to `current_cursor'; add new member `desired_cursor'.
  4816.     (FRAME_DESIRED_CURSOR): New accessor for new member.
  4817.     * xterm.c (x_display_bar_cursor): Rewritten so as not to damage
  4818.     the characters the cursor is displayed over, and to handle
  4819.     transitions between box and bar styles.
  4820.     (x_display_bar_cursor, x_display_box_cursor): Use current_cursor
  4821.     instead of text_cursor_kind.
  4822.     (Vbar_cursor): Delete external declaration.
  4823.     (x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead
  4824.     of Vbar_cursor to decide how to draw the cursor.
  4825.     * xfns.c (Vbar_cursor): Remove definition.
  4826.     (Qbar, Qbox, Qcursor_type): New symbols. 
  4827.     (syms_of_xfns): Init and staticpro them; remove DEFVAR for
  4828.     Vbar_cursor.
  4829.     (x_set_cursor_type): New setter.
  4830.     (x_frame_parms): Add it to the list.
  4831.     (Fx_create_frame): Get default values for the cursor type.
  4832.  
  4833.     * frame.c (Fmouse_position): Pass the appropriate arguments to
  4834.     *mouse_position_hook; the protocol was changed, but this caller
  4835.     wasn't fixed.
  4836.  
  4837.     * xterm.c (XTclear_frame): Call x_scrollbar_clear.
  4838.     (x_scrollbar_clear): New function.
  4839.  
  4840.     * xterm.c (XTflash): Totally rewritten.  Only defined if
  4841.     HAVE_TIMEVAL and HAVE_SELECT are defined, since we use select for
  4842.     our timing.
  4843.     (timeval_subtract): New function, to help XTflash.
  4844.     (x_invert_frame): Removed.  This didn't work anyway.
  4845.     (XTring_bell): Remove "#if 0" around call to XTflash, and remove
  4846.     calls to x_invert_frame.  If both HAVE_TIMEVAL and HAVE_SELECT
  4847.     aren't defined, then just do the ordinary beep.
  4848.  
  4849.     * window.c (Fscroll_other_window): Prefer windows on the selected
  4850.     frame, then look for windows on other visible frames.
  4851.  
  4852.     * keyboard.c (Fmouse_click_p): Removed; with the 'e' spec, this
  4853.     isn't necessary anymore.
  4854.     (syms_of_keyboard): Remove defsubr for it.
  4855.     * keyboard.h (Fmouse_click_p): Remove extern declaration for it.
  4856.  
  4857.     * xfns.c (gray_bits): Remove this declaration; the same data is in
  4858.     <X11/bitmaps/gray>.  #include that instead.
  4859.     [not HAVE_X11] (x_set_border_pixel): Use gray_width and
  4860.     gray_height, instead of assuming that the bitmap is 16x16.
  4861.     (x_make_gc): Instead of creating a pixmap and then calling
  4862.     XPutImage to make it into a grey stipple, just call
  4863.     XCreatePixmapFromBitmapData to do it all at once.
  4864.  
  4865.     * xterm.c (x_text_icon): Move the request for font information
  4866.     into the "not HAVE_X11" part of the function; the X11 code doesn't
  4867.     need this.
  4868.  
  4869.     * xterm.c (x_wm_set_icon_pixmap): Instead of setting the
  4870.     icon_pixmap to None, just remove IconPixmapHint from the flags of
  4871.     the XWMHints structure.
  4872.  
  4873.     * window.c (Fprevious_frame): Use prev_frame when we get to the
  4874.     end of the current frame, not next_frame.  Doc fix.
  4875.     * frame.c (prev_frame): Remove "#if 0" from this function.  It
  4876.     turns out we do need it, to make prev_frame work right.
  4877.  
  4878.     * frame.c (next_frame): Check that FRAME is a live frame.
  4879.  
  4880.     * frame.c (Fselect_frame): Remove "#ifdef MULTI_FRAME" clause
  4881.     around the code which calls Ffocus_frame; this code is already
  4882.     inside an "#ifdef MULTI_FRAME" clause.
  4883.     (next_frame, prev_frame, Fnext_frame): For the same reasons,
  4884.     remove the "#ifdef MULTI_FRAME" clause around these functions.
  4885.  
  4886.     unread-command-event has been replaced by unread-command-events.
  4887.     * commands.h (unread_command_event): Change extern declaration.
  4888.     * keyboard.c (unread_command_event): Change the definition.
  4889.     (syms_of_keyboard): Change DEFVAR, and adjust the docstring.
  4890.     (command_loop_1, read_char, Finput_pending, Fdiscard_input,
  4891.     quit_throw_to_read_char, init_keyboard): Change to use
  4892.     unread_command_events, with the new semantics.
  4893.     * lread.c (read_char): Same.
  4894.     * minibuf.c (temp_echo_area_glyphs): Same.
  4895.     * xterm.c (unread_command_event): Remove external declaration for
  4896.     this; it is only used by obsolete code.
  4897.  
  4898.     * Makefile.in: Some makes can't handle comments in the middle of
  4899.     commands; move them to before the whole rule.
  4900.  
  4901. Thu Jan 21 22:51:37 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4902.  
  4903.     * keyboard.c (make_lispy_event): When handling a mouse click event
  4904.     on a window, change x and y from screen coordinates to window
  4905.     coordinates even when the click isn't in the text area.
  4906.  
  4907.     * xterm.c (x_scrollbar_create): Remove code which asks for
  4908.     EastGravity for windows; Emacs can't correctly deal with them
  4909.     moving around unexpectedly.
  4910.  
  4911.     * xterm.c (XTread_socket): Minor reformatting.
  4912.  
  4913.     * xterm.c (x_set_window_size): Always mark the frame garbaged.
  4914.  
  4915.         * window.c (Vmouse_window): Variable removed; it can't be handled
  4916.     properly without race conditions, and the events give you all the
  4917.     information you need anyway.
  4918.     (syms_of_window): Remove DEFVAR.
  4919.     * callint.c (Fcall_interactively): Change the `@' spec to select
  4920.     the window of the first parameterized event in the key sequence
  4921.     which invoked the command, instead of using Vmouse_window, which
  4922.     isn't even updated anymore.  Adjust the documentation
  4923.     accordingly.
  4924.  
  4925. Wed Jan 20 13:06:43 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4926.  
  4927.     * xterm.c (x_scrollbar_create): Set the scrollbars to use
  4928.     EastGravity.
  4929.  
  4930.     * keyboard.c (make_lispy_event): Deal with button releases with no
  4931.     stored down-going position.  Make sure we always store a Qnil in
  4932.     the right button_down_location element after using it.
  4933.  
  4934. Tue Jan 19 10:33:04 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4935.  
  4936.     * frame.c (Fdelete_frame): Clear the frame's display after calling
  4937.     the window-system-dependent frame destruction routine.  We
  4938.     no longer need to pass the display as a separate argument to
  4939.     x_destroy_window.
  4940.     * xterm.c (x_destroy_window): Put the code which clears out f's
  4941.     display here, right after we free the storage it points to.  Put
  4942.     everything, including the code which clears x_focus_frame and
  4943.     x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.
  4944.  
  4945.     * dispnew.c (Fredraw_display): Undo change of Jan 12; redraw only
  4946.     frames whose garbaged flag is set.  The change to
  4947.     FRAME_SAMPLE_VISIBILITY on Jan 14 should address the problem better.
  4948.  
  4949.     keyboard.c (read_char_menu_prompt): Test HAVE_X_WINDOWS, not
  4950.     HAVE_X_WINDOW.
  4951.  
  4952.     The CPP symbol indicating whether or not we have mouse menu
  4953.     support under X Windows is HAVE_X_MENU, not not NO_X_MENU.
  4954.     * emacs.c (main): Test HAVE_X_MENU, instead of NO_X_MENU.
  4955.     * keyboard.c (read_char_menu_prompt): Same.
  4956.     * ymakefile: Same.
  4957.  
  4958.     * keyboard.c (read_char, read_char_menu_prompt): Use the
  4959.     EVENT_HAS_PARAMETERS macro from keyboard.h, instead of writing it
  4960.     out.
  4961.  
  4962.     * keyboard.c (read_char_menu_prompt): Doc fix.
  4963.  
  4964.     * keyboard.c (read_char_menu_prompt): Fix test for no menus;
  4965.     comparing name to Qnil doesn't work if we are called with no maps.
  4966.  
  4967.     * keymap.c (Fdefine_key): Call Fkey_description to make the string
  4968.     to use in the error message.
  4969.  
  4970. Mon Jan 18 19:56:45 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4971.  
  4972.     * window.c (Fdisplay_buffer): Doc fix.
  4973.  
  4974. Sat Jan 16 00:55:19 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  4975.  
  4976.     * xterm.c (x_window_to_scrollbar): Search frames'
  4977.     condemned_scrollbars list as well; input might arrive during
  4978.     redisplay.
  4979.     (x_scrollbar_report_motion): Don't forget to BLOCK_INPUT.
  4980.     (XTjudge_scrollbars): Clear the condemned scrollbar list before
  4981.     traversing it, so we don't try to process an event on a scrollbar
  4982.     we've killed.
  4983.  
  4984. Fri Jan 15 16:57:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4985.  
  4986.     * keyboard.c (Frecent_keys): Doc fix.
  4987.  
  4988. Thu Jan 14 16:17:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4989.  
  4990.     * window.c (Fwindow_at): Doc fix.
  4991.  
  4992. Thu Jan 14 04:34:13 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4993.  
  4994.     * xterm.c (x_scrollbar_create): Include PointerMotionHintMask in
  4995.     the event mask for scrollbars.
  4996.  
  4997.     * dispnew.c (Fredraw_display): DEFUN was missing a closing paren.
  4998.  
  4999.     * term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook,
  5000.     redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo
  5001.     "externs" from these.  They're supposed to be real definitions.
  5002.  
  5003.     * .gdbinit: Add "-geometry +0+0" to default args.
  5004.     (xscrollbar): New command.
  5005.  
  5006.     Make scrollbar structures into lisp objects, so that they can be
  5007.     GC'd; this allows windows and scrollbars can refer to each other
  5008.     without worrying about dangling pointers.
  5009.     * xterm.h (struct x_display): vertical_scrollbars and
  5010.     judge_timestamp members deleted.
  5011.     (struct scrollbar): Redesigned to be a template for a Lisp_Vector.
  5012.     (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK,
  5013.     SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW,
  5014.     VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE,
  5015.     VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
  5016.     New macros, to help deal with the lispy structures, and deal with
  5017.     the graphics.
  5018.     * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted.
  5019.     (struct frame): New fields `scrollbars' and
  5020.     `condemned_scrollbars', for use by the scrollbar implementation.
  5021.     [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS,
  5022.     FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field.
  5023.     * window.h (struct window): Doc fix for vertical_scrollbar field.
  5024.     * frame.c (make_frame): Initialize the `scrollbars' and
  5025.     `condemned_scrollbars' fields of the new frame.
  5026.     * alloc.c (mark_object): Mark the `scrollbars' and
  5027.     `condemned_scrollbars' slots of frames.
  5028.     * xterm.c (x_window_to_scrollbar): Scrollbars are chained on
  5029.     frames' scrollbar field, not their x.display->vertical_scrollbars
  5030.     field.
  5031.     (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move,
  5032.     x_scrollbar_remove, XTset_vertical_scrollbar,
  5033.     XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars,
  5034.     x_scrollbar_expose, x_scrollbar_handle_click,
  5035.     x_scrollbar_handle_motion): Substantially rewritten to correct
  5036.     typos and brainos, and to accomodate the lispy structures.
  5037.  
  5038.     * xterm.c (x_scrollbar_background_expose): Function deleted; we
  5039.     don't want anything in the background there after all.
  5040.     (XTread_socket): Don't call x_scrollbar_background_expose.  We
  5041.     don't care.
  5042.  
  5043.     * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as
  5044.     garbaged whenever it goes from invisible to visible.
  5045.     * dispextern.h (frame_garbaged): Move extern declaration from here...
  5046.     * frame.h (frame_garbaged): ... to here.  The FRAME_SAMPLE_VISIBILITY
  5047.     macro uses it now, and this seems to be just as modular.  Make a
  5048.     new page, just for this and message_buf_print.
  5049.     (struct frame): Doc fix for the `visible' field.
  5050.     * process.c: #include "frame.h" instead of "dispextern.h"; the
  5051.     only thing we care about from it is the frame_garbaged
  5052.     declaration.
  5053.     * ymakefile: Note dependency change.
  5054.  
  5055.     * xfns.c (Fx_create_frame): After mapping the frame, call
  5056.     SET_FRAME_GARBAGED, not just plain FRAME_GARBAGED.
  5057.  
  5058.     * window.c (window_internal_width): New function, which accounts
  5059.     for scrollbars if present.
  5060.     * lisp.h (window_internal_height, window_internal_width): Add
  5061.     extern declarations for these.
  5062.     * dispnew.c (direct_output_for_insert, direct_output_forward_char,
  5063.     buffer_posn_from_coords): Use window_internal_width instead of
  5064.     writing out its definition.
  5065.     * indent.c (compute_motion): Doc fix; mention scrollbars and
  5066.     window_internal_width.
  5067.     (pos_tab_offset, Fvertical_motion): Use window_internal_width
  5068.     instead of writing it out.
  5069.     * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
  5070.     Fscroll_right): Same.
  5071.     * xdisp.c (redisplay, try_window, try_window_id,
  5072.     display_text_line): Same.
  5073.  
  5074.     * xdisp.c (display_string): Add new variable `f', to be W's
  5075.     frame.  Use it to set desired_glyphs, and to get the frame's width
  5076.     to decide whether or not to draw vertical bars.
  5077.  
  5078.     * xdisp.c (display_text_line): If we're using vertical scrollbars,
  5079.     don't draw the vertical bars separating side-by-side windows.
  5080.     (display_string): Same thing.  Draw spaces to fill in the part of
  5081.     the mode line that is under the scrollbar in partial-width
  5082.     windows.
  5083.  
  5084.     * xfns.c (Qvertical_scrollbars): New symbol.  Use it as the name
  5085.     of the parameter which decides whether or not the frame has
  5086.     scrollbars, instead of Qvertical_scrollbar.
  5087.     (Fx_create_frame): Adjusted accordingly.
  5088.     (syms_of_xfns): Initialize and staticpro Qvertical_scrollbars.
  5089.     (x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars.
  5090.     (x_frame_parms): Adjusted accordingly.
  5091.  
  5092.     * xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT,
  5093.     PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
  5094.     (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW,
  5095.     PIXEL_TO_CHAR_COL): New macros.
  5096.     * xfns.c [not HAVE_X11] (Fx_create_frame): Use the
  5097.     PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's
  5098.     character size, and the CHAR_TO_PIXEL* macros for vice versa.
  5099.     * xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines,
  5100.     scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box,
  5101.     clear_cursor, x_display_bar_cursor, x_draw_single_glyph,
  5102.     x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.
  5103.  
  5104.     * xterm.c (x_wm_set_size_hint): The max_width and max_height
  5105.     members of the size_hints are expressed in pixels, not columns.
  5106.  
  5107.     * xterm.c (x_set_window_size): Remove ibw var; it's not used.
  5108.     Set FRAME_WIDTH (f) to cols instead of rows.  Duh.
  5109.  
  5110.     * xterm.c (pixel_to_glyph_coords): Properly set *bounds to the
  5111.     character cell bounding the position, even when the position is
  5112.     off the frame.
  5113.  
  5114.     * xfns.c (x_set_name): To request that the modelines be redrawn,
  5115.     execute the statement "update_mode_lines = 1;" instead of the
  5116.     silly statement "update_mode_lines;".
  5117.  
  5118.     * xfns.c (x_set_vertical_scrollbars): Don't try to set the
  5119.     X window's size if the frame's X window hasn't been created yet.
  5120.  
  5121.     * xfns.c (x_figure_window_size): Set the frame's
  5122.     vertical_scrollbar_extra field before trying to calculate its
  5123.     pixel dimensions.
  5124.  
  5125.     * xfns.c (x_window): When calling x_implicitly_set_name for the
  5126.     sake of drawing the name for the first time, remember to clear and
  5127.     set the frame's explicit_name member as well as its name member.
  5128.     (Fx_create_frame): Set the frame's explicit_name member if the
  5129.     user specified the name explicitly.
  5130.  
  5131.     * xdisp.c (display_text_line): Use the usable internal width of
  5132.     the window, as calculated above, as the limit on the length of the
  5133.     overlay arrow's image, rather than using the window's width field,
  5134.     less one.
  5135.  
  5136.     * xdisp.c (redisplay): Call condemn_scrollbars_hook and
  5137.     judge_scrollbars_hook whenever they are set, not just when the
  5138.     frame has vertical scrollbars.
  5139.  
  5140.     * termhooks.h (mouse_position_hook): Doc fix.
  5141.     (set_vertical_scrollbar_hook): This doesn't return anything any
  5142.     more, and doesn't take a struct scrollbar * argument any more.
  5143.     (condemn_scrollbars_hook, redeem_scrollbar_hook,
  5144.     judge_scrollbars_hook): Doc fixes.
  5145.     * term.c (mouse_position_hook): Doc fix.
  5146.     (set_vertical_scrollbar_hook): This doesn't return
  5147.     anything any more.  Doc fixes.
  5148.     * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's
  5149.     window from *mouse_position_hook and pass it to
  5150.     make_lispy_movement, instead of working with a pointer to a struct
  5151.     scrollbar.
  5152.     (make_lispy_event): We don't need a window_from_scrollbar function
  5153.     anymore; we are given the window directly in *EVENT.
  5154.     Unify the code which generates
  5155.     text-area mouse clicks and scrollbar clicks; use the same code to
  5156.     distinguish clicks from drags on the scrollbar as in the text area.
  5157.     Distinguish clicks from drags by storing a copy of the lispy
  5158.     position list returned as part of the event.
  5159.     (button_down_location): Make this a lisp vector, rather than an
  5160.     array of random structures.
  5161.     (struct mouse_position): Remove this; it's been replaced by a lisp
  5162.     list.
  5163.     (make_lispy_movement): Accept the scrollbar's window as a
  5164.     parameter, rather than the scrollbar itself.
  5165.     If FRAME is zero, assume that the other arguments are garbage.
  5166.     (syms_of_keyboard): No need to staticpro each window of
  5167.     button_down_location now; just initialize and staticpro it.
  5168.     * window.c (window_from_scrollbar): Function deleted; no longer
  5169.     needed.
  5170.     * xdisp.c (redisplay_window): Just pass the window to
  5171.     set_vertical_scrollbar hook; don't pass the scrollbar object too.
  5172.     * xterm.c (XTmouse_position): Don't return a pointer to the
  5173.     scrollbar for scrollbar motion; instead, return the scrollbar's
  5174.     window.
  5175.  
  5176.     * xterm.c (XTmouse_position): Entirely rewritten, using
  5177.     XTranslateCoordinates.  Call x_scrollbar_report_motion to handle
  5178.     scrollbar movement events.
  5179.     (x_scrollbar_report_motion): New function, to help out
  5180.     XTmouse_position.
  5181.  
  5182.     * keyboard.c (apply_modifiers): Don't assume that the Qevent_kind
  5183.     property of BASE is set when we first create the new modified
  5184.     symbol.  Check that the Qevent_kind property is properly set each
  5185.     time we return any symbol.
  5186.  
  5187.     * termhooks.h (struct input_event): Replace the frame member with
  5188.     a Lisp_Object member by the name of frame_or_window.  Doc fixes.
  5189.     Remove the scrollbar member; instead, use frame_or_window to hold the
  5190.     window whose scrollbar was clicked.
  5191.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event,
  5192.     make_lispy_event): Adjust references to frame member of struct
  5193.     input_event to use frame_or_window now.
  5194.     * xterm.c (construct_mouse_click, XTread_socket): Same.
  5195.  
  5196.     * xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
  5197.     last_mouse_scroll_range_start, last_mouse_scroll_range_end):
  5198.     Replaced with...
  5199.     (last_mouse_scrollbar): New variable.
  5200.     (note_mouse_movement): Clear last_mouse_scrollbar when we have
  5201.     receieved a new motion.
  5202.     (syms_of_xterm): Staticpro last_mouse_scrollbar.
  5203.  
  5204.     * xterm.c (note_mouse_position): Renamed to note_mouse_movement,
  5205.     because that's what it really does.
  5206.     (x_scrollbar_handle_motion): Renamed to x_scrollbar_note_movement,
  5207.     for consistency.
  5208.     (XTread_socket): Adjusted.
  5209.  
  5210.     * xterm.c (XTset_scrollbar): Renamed to XTset_vertical_scrollbar.
  5211.     (x_term_init): Adjusted.
  5212.  
  5213.     * keyboard.c (kbd_buffer_frames): Renamed to
  5214.     kbd_buffer_frame_or_window, and made to exist even when
  5215.     MULTI_FRAME isn't defined; single-frame systems might have
  5216.     scrollbars.  Use it to GCPRO the frame_or_window field in the
  5217.     event queue.
  5218.     (kbd_buffer_store_event, kbd_buffer_get_event,
  5219.     stuff_buffered_input): Set and clear the
  5220.     appropriate element of kbd_buffer_frame_or_window, whether or not
  5221.     MULTI_FRAME is #defined.
  5222.     (read_avail_input): When reading characters directly from stdin,
  5223.     set the frame_or_window field of the event appropriately,
  5224.     depending on whether or not MULTI_FRAME is #defined.
  5225.     (Fdiscard_input, init_keyboard): Zap kbd_buffer_frame_or_window,
  5226.     not kbd_buffer_frames.
  5227.     (syms_of_keyboard): Initialize and staticpro
  5228.     kbd_buffer_frame_or_window, whether or not MULTI_FRAME is
  5229.     #defined.
  5230.  
  5231.     * keyboard.c (head_table): Make Qscrollbar_movement have a
  5232.     Qevent_kind property of Qmouse_movement, not Qscrollbar_movement.
  5233.  
  5234.     * keyboard.c (read_key_sequence): If we decide to throw away a
  5235.     mouse event which has prefix symbols (`mode-line',
  5236.     `vertical-scrollbar', etcetera), remember that we may have to
  5237.     unwind two characters, not just one.
  5238.  
  5239.     * keyboard.c (read_key_sequence): Doc fixes.
  5240.  
  5241.     * keyboard.c (kbd_buffer_store_event): Fix reversed sense of test
  5242.     for focus redirection.
  5243.  
  5244.     * keyboard.c (read_char): Don't echo mouse movements.
  5245.  
  5246.     * emacs.c (shut_down_emacs): New function.
  5247.     (fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
  5248.     * xterm.c (x_connection_closed): Call shut_down_emacs instead of
  5249.     Fkill_emacs; the latter will try to perform operations on the X
  5250.     server and die a horrible death.
  5251.     * lisp.h (shut_down_emacs): Add extern declaration for it.
  5252.  
  5253.     * xterm.c (x_error_quitter): Move the abort call to after we print
  5254.     the error message.  No harm in that.
  5255.  
  5256.     * xdisp.c (echo_area_display): Move the assignment of f and the
  5257.     check for visibility out of the "#ifdef MULTI_FRAME" clause; they
  5258.     should work under any circumstances.
  5259.  
  5260.     * xdisp.c (redisplay_window): If we're not going to redisplay this
  5261.     window because it's a minibuffer whose contents have already been
  5262.     updated, go ahead and jump to the scrollbar refreshing code
  5263.     anyway; they still need to be updated.  Initialize opoint, so it's
  5264.     known to be valid when we jump.  Calculate the scrollbar settings
  5265.     properly for minibuffers, no matter what they are displaying at
  5266.     the time.
  5267.  
  5268.     * xdisp.c (redisplay_windows): Don't restore the current buffer
  5269.     and its point before refreshing the scrollbars; we need the buffer
  5270.     accurate.
  5271.  
  5272. Tue Jan 12 19:23:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5273.  
  5274.     * print.c (float_to_string): Add final 0 if text ends with decimal pt.
  5275.  
  5276.     * dispnew.c (Fredraw_display): Redraw all visible frames.
  5277.     Make the non-multi-frame version interactive.
  5278.  
  5279. Mon Jan 11 18:15:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5280.  
  5281.     * fileio.c (Fset_default_file_modes, Fdefault_file_modes):
  5282.     Renamed from Fset_umask and Fumask; sense of arg is reversed.
  5283.     (Fwrite_region): Doc fix.
  5284.  
  5285. Sun Jan 10 11:42:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5286.  
  5287.     * print.c (float_to_string): Add `.0' at end if needed.
  5288.  
  5289.     * lread.c (Fload): If warn that .elc file is older, inhibit
  5290.     the ordinary message that would follow.
  5291.  
  5292. Sat Jan  9 12:12:31 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5293.  
  5294.     * fileio.c (Fdo_auto_save): Add CURRENT_ONLY argument, as
  5295.     described in doc string.
  5296.  
  5297. Fri Jan  8 04:07:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5298.  
  5299.     * fns.c (Frandom): Change arg name.
  5300.  
  5301.     * editfns.c: Doc fixes.
  5302.  
  5303. Thu Jan  7 05:21:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5304.  
  5305.     * unexhp9k800.c (unexec): Don't call exit, just return.
  5306.  
  5307. Thu Jan  7 03:43:09 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5308.  
  5309.         * config.h.in: protect against multiple #inclusions.
  5310.  
  5311.     * config.h.in: Add a declaration for getenv.
  5312.  
  5313.     * xfns.c (Fx_get_resource): Add CLASS argument, to give class of
  5314.     ATTRIBUTE.
  5315.     [not HAVE_X11]: Change definition of Fx_get_resource macro
  5316.     accordingly.
  5317.     (x_get_arg): Add CLASS argument, to give the class of ATTRIBUTE.
  5318.     Pass it along to Fx_get_resource.
  5319.     (x_figure_window_size, x_icon): Pass new argument to x_get_arg.
  5320.     (x_default_parameter): Add XCLASS argument, to give the class of
  5321.     XPROP.  Pass it along to x_get_arg.
  5322.     (Fx_create_frame): Pass new args to x_get_arg and
  5323.     x_default_parameter.
  5324.  
  5325.     * xfns.c (Fx_create_frame): Use the same resource names and
  5326.     classes as xterm and Emacs 18.
  5327.  
  5328. Sun Jan  3 18:40:05 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5329.  
  5330.     * xfns.c (Fx_get_resource): Use EMACS_CLASS to make class_key
  5331.     even if SUBCLASS is specified.  I don't know whether that is
  5332.     right, but that's what the doc says.
  5333.     Cosmetic changes in arg names and doc string.
  5334.  
  5335. Tue Dec 29 21:58:10 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5336.  
  5337.     * ralloc.c: [! emacs] [HAVE_CONFIG_H]: #include "config.h"
  5338.  
  5339. Mon Dec 21 13:26:29 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5340.  
  5341.     * Makefile.in (tagsfiles): New variable.
  5342.     (TAGS): Depend on $(tagsfiles); use that in cmds.
  5343.     (tags): Separate phony rule; depends on TAGS.
  5344.  
  5345. Mon Dec 21 00:02:02 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5346.  
  5347.         * keyboard.c: Protect all references to kbd_buffer_frames with
  5348.     #ifdef MULTI_FRAME.
  5349.  
  5350.     * frame.h (struct frame): New fields `can_have_scrollbars' and
  5351.     `has_vertical_scrollbars'.
  5352.     (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New
  5353.     accessors, for both the MULTI_FRAME and non-MULTI_FRAME.
  5354.     (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR,
  5355.     WINDOW_VERTICAL_SCROLLBAR_COLUMN,
  5356.     WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros.
  5357.     * window.h (struct window): New field `vertical_scrollbar'.
  5358.     * xterm.h (struct x_display): vertical_scrollbars,
  5359.     judge_timestamp, vertical_scrollbar_extra: New fields.
  5360.     (struct scrollbar): New struct.
  5361.     (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT,
  5362.     VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER,
  5363.     VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER,
  5364.     CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH,
  5365.     PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
  5366.     * frame.c (make_frame): Initialize the `can_have_scrollbars' and
  5367.     `has_vertical_scrollbars' fields of the frame.
  5368.     * term.c (term_init): Note that TERMCAP terminals don't support
  5369.     scrollbars.
  5370.     (mouse_position_hook): Document new args.
  5371.     (set_vertical_scrollbar_hook, condemn_scrollbars_hook,
  5372.     redeem_scrollbar_hook, judge_scrollbars_hook): New hooks.
  5373.     * termhooks.h: Declare and document them.
  5374.     (enum scrollbar_part): New type.
  5375.     (struct input_event): Describe the new form of the scrollbar_click
  5376.     event type.  Change `part' from a Lisp_Object to an enum
  5377.     scrollbar_part.  Add a new field `scrollbar'.
  5378.     * keyboard.c (kbd_buffer_get_event): Pass appropriate new
  5379.     parameters to *mouse_position_hook, and make_lispy_movement.
  5380.     * xfns.c (x_set_vertical_scrollbar): New function.
  5381.     (x_figure_window_size): Use new macros to calculate frame size.
  5382.     (Fx_create_frame): Note that X Windows frames do support scroll
  5383.     bars.  Default to "yes".
  5384.     * xterm.c: #include <X11/cursorfont.h> and "window.h".
  5385.     (x_vertical_scrollbar_cursor): New variable.
  5386.     (x_term_init): Initialize it.
  5387.     (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
  5388.     last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
  5389.     variables.
  5390.     (XTmouse_position): Use them to return scrollbar movement events.
  5391.     Take new arguments, for that purpose.
  5392.     (x_window_to_scrollbar, x_scrollbar_create,
  5393.     x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move,
  5394.     XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar,
  5395.     XTjudge_scrollbars, x_scrollbar_expose,
  5396.     x_scrollbar_background_expose, x_scrollbar_handle_click,
  5397.     x_scrollbar_handle_motion): New functions to implement scrollbars.
  5398.     (x_term_init): Set the termhooks.h hooks to point to them.
  5399.     (x_set_window_size): Use new macros to calculate frame size.  Set
  5400.     vertical_scrollbar_extra field.
  5401.     (x_make_frame_visible): Use the frame accessor
  5402.     FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the
  5403.     frame's subwindows as well.
  5404.     (XTread_socket): Use new size-calculation macros from xterm.h when
  5405.     processing ConfigureNotify events.
  5406.     (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and
  5407.     PIXEL_TO_CHAR_HEIGHT macros.
  5408.     * ymakefile (xdisp.o): This now depends on termhooks.h.
  5409.     (xterm.o): This now depends on window.h.
  5410.  
  5411.     * xdisp.c: #include "termhooks.h".
  5412.     (redisplay, redisplay_window): Use set_vertical_scrollbar_hook,
  5413.     condemn_scrollbars_hook, redeem_scrollbar_hook, and
  5414.     judge_scrollbars_hook to make scrollbars redisplay properly.
  5415.  
  5416.     * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,
  5417.     Qabove_handle, Qhandle, Qbelow_handle): New symbols.
  5418.     (make_lispy_event): New code to build scrollbar clicks.
  5419.     (make_lispy_movement): New code to handle scrollbar movement.
  5420.     (head_table): Include Qscrollbar_movement in the event heads.
  5421.     (syms_of_keyboard): Init and staticpro Qvertical_scrollbar,
  5422.     Qabove_handle, Qhandle, and Qbelow_handle.
  5423.     * keyboard.h (Qscrollbar_movement): Declare this along with the
  5424.     other event types.
  5425.     * lisp.h (Qvertical_scrollbar): Declare this.
  5426.     * window.c (window_from_scrollbar): New function.
  5427.  
  5428.     * xterm.h (struct x_display): Delete v_scrollbar, v_thumbup,
  5429.     v_thumbdown, v_slider, h_scrollbar, h_thumbup,
  5430.     h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
  5431.     fields.
  5432.     * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part,
  5433.     Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part,
  5434.     Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
  5435.     interface.
  5436.     (head_table): Removed from here as well.
  5437.     (syms_of_keyboard): And here.
  5438.     * keyboard.h: And here.
  5439.     (POSN_SCROLLBAR_BUTTON): Removed.
  5440.     * xscrollbar.h: File removed - no longer necessary.
  5441.     * xfns.c: Don't #include it any more.
  5442.     (Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted.
  5443.     (syms_of_xfns): Don't initialize or staticpro them.
  5444.     (gray_bits): Salvaged from xscrollbar.h.
  5445.     (x_window_to_scrollbar): Deleted.
  5446.     (x_set_horizontal_scrollbar): Deleted.
  5447.     (enum x_frame_parm, x_frame_parms): Remove references to
  5448.     x_set_horizontal_scrollbar.
  5449.     (x_set_foreground_color, x_set_background_color,
  5450.     x_set_border_pixel): Remove special code to support scrollbars.
  5451.     (Fx_create_frame): Remove old scrollbar setup code.
  5452.     (install_vertical_scrollbar, install_horizontal_scrollbar,
  5453.     adjust_scrollbars, x_resize_scrollbars): Deleted.
  5454.     * xterm.c (construct_mouse_click): This doesn't need to take care of
  5455.     scrollbar clicks anymore.
  5456.     (XTread_socket): Remove old code to support scrollbars.  Call new
  5457.     functions instead for events which occur in scrollbar windows.
  5458.     (XTupdate_end): Remove call to adjust_scrollbars; the main
  5459.     redisplay code takes care of that now.
  5460.     (enum window_type): Deleted.
  5461.     * ymakefile: Note that xfns.o no longer depends on xscrollbar.h.
  5462.  
  5463.     * xterm.c (x_set_mouse_position): Clip mouse position to be within
  5464.     frame.
  5465.  
  5466.     * xterm.c: Adjust the first line of each page to have a reasonable
  5467.     description.  This makes pages-directory more useful.
  5468.  
  5469.     * xterm.c (x_do_pending_expose): Declare this routine only if
  5470.     HAVE_X11 is not #defined; X11 doesn't need it.
  5471.     (XTread_socket): Protect call to x_do_pending_expose with `#ifdef
  5472.     HAVE_X11'. 
  5473.  
  5474.     * xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and
  5475.     x_mouse_y.  That interface hasn't been live for years.
  5476.     (x_mouse_x, x_mouse_y): Delete these variables.
  5477.  
  5478.     * xterm.c (notice_mouse_movement): Deleted; obsolete and unused.
  5479.  
  5480.     * keyboard.c (Fread_key_sequence): Doc fix.
  5481.  
  5482.     * keyboard.c (make_lispy_event): Buttons are numbered starting
  5483.     with zero now.
  5484.  
  5485.     * keyboard.c (make_lispy_event): Use the proper accessors when
  5486.     manipulating the `x' and `y' fields of struct input_event.
  5487.  
  5488.     * keyboard.c (parse_modifiers_uncached): Remember that strncmp
  5489.     returns zero if the two substrings are equal.
  5490.  
  5491.     * keyboard.c (do_mouse_tracking, Ftrack_mouse): Doc fix.
  5492.  
  5493.     * keyboard.c (read_char): Don't put mouse movements in
  5494.     this_command_keys.
  5495.  
  5496.     * xfns.c (Fx_create_frame): Don't initialize the wm_hints field here.
  5497.     (x_window): Do it here, along with all the similar stuff.
  5498.  
  5499. Mon Dec 21 00:37:34 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5500.  
  5501.     * callint.c (Fcall_interactively): For `s', use Fread_string.
  5502.  
  5503. Sun Dec 20 21:41:31 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5504.  
  5505.     Properly handle focus shift events, so the cursor is filled and
  5506.     hollow at the appropriate times, even in titleless windows.
  5507.     * xterm.c (x_focus_event_frame): New variable.
  5508.     (XTread_socket): When we receive a FocusIn event that's not
  5509.     NotifyPointer, record the frame in x_focus_event_frame.  When we
  5510.     receive a FocusOut event that's not NotifyPointer, clear it.  When
  5511.     we get a LeaveNotify event, don't take it seriously if we still
  5512.     have focus.
  5513.  
  5514.     * xterm.c (XTread_socket): Remove special code in EnterNotify case
  5515.     to handle scrollbars and fake mouse motion events.
  5516.  
  5517. Sat Dec 19 06:50:39 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5518.  
  5519.     * floatfns.c (Flog): Fix unescaped newline in string.
  5520.     * frame.c (Fnext_frame): Same.
  5521.     * textprop.c (Fprevious_single_property_change): Same.
  5522.     (syms_of_textprop): Same, for DEFVAR for
  5523.     `interval_balance_threshold'.
  5524.  
  5525.     Change the meaning of focus redirection to make switching windows
  5526.     work properly.  Fredirect_frame_focus has the details.
  5527.     * frame.h (focus_frame): Doc fix.
  5528.     [not MULTI_FRAME] (FRAME_FOCUS_FRAME): Make this Qnil, which
  5529.     indicates no focus redirection, instead of zero, which is
  5530.     selected_frame.
  5531.     * frame.c (make_frame): Initialize f->focus_frame to Qnil, rather
  5532.     than making it point to frame itself.
  5533.     (Fselect_frame): If changing the selected frame from FOO to BAR,
  5534.     make all redirections to FOO shift to BAR as well.  Doc fix.
  5535.     (Fredirect_frame_focus): Doc fix.  Accept nil as a valid
  5536.     redirection, not just as a default for FRAME.
  5537.     (Fframe_focus): Doc fix.
  5538.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event): Deal
  5539.     with focus redirections being nil.
  5540.     * xterm.c (XTframe_rehighlight): Doc fix.  Deal with focus
  5541.     redirections being nil.
  5542.  
  5543.     * window.c (Fset_window_configuration): Don't restore the frame's
  5544.     focus redirection if the target frame is now dead.
  5545.  
  5546.     * ymakefile (ralloc.o): This no longer depends on xterm.h.
  5547.  
  5548.     * ymakefile (all, xemacs): We build an executable called `emacs' now,
  5549.     not `xemacs'.
  5550.     * Makefile.in (distclean, xemacs, doxemacs): Same.
  5551.  
  5552.     * xterm.h (PIXEL_WIDTH, PIXEL_HEIGHT): Change name of parameter
  5553.     from `s' to `f'; it's a frame pointer.
  5554.  
  5555. Fri Dec 18 08:28:14 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5556.  
  5557.     * keyboard.c (kbd_buffer_frames): New vector, to GCPRO frames in
  5558.     kbd_buffer.
  5559.     (kbd_buffer_store_event): When we add an event to kbd_buffer, make
  5560.     sure to store its frame in kbd_buffer_frames.
  5561.     (kbd_buffer_get_event): When we remove an event from kbd_buffer,
  5562.     make sure to set the corresponding element of kbd_buffer_frames to
  5563.     Qnil, to allow the frame to get GC'd.
  5564.     (Fdiscard_input, init_keyboard): Clear all elements of
  5565.     kbd_buffer_frames to nil.
  5566.     (syms_of_keyboard): Create and staticpro kbd_buffer_frames.
  5567.  
  5568.     * xterm.c (x_error_quitter): Just abort, so we can look at the
  5569.     core to see what happened.
  5570.  
  5571. Thu Dec 17 06:23:11 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5572.  
  5573.     * buffer.c (Frename_buffer): Set update_mode_lines.
  5574.  
  5575. Mon Dec 14 03:29:39 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5576.  
  5577.     * scroll.c (do_scrolling): When bcopying the max_ascent field from
  5578.     current_frame to temp_frame, remember that max_ascent is an array
  5579.     of shorts, not ints.
  5580.  
  5581.     It's a pain to remember that you can't assign to FRAME->visible.
  5582.     Let's change all references to the `visible' member of struct
  5583.     frame to use the accessor macros, and then write a setter for the
  5584.     `visible' field that does the right thing.
  5585.     * frame.h (FRAME_VISIBLE_P): Make this not an l-value.
  5586.     (FRAME_SET_VISIBLE): New macro.
  5587.     * frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE.
  5588.     (Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and
  5589.     FRAME_ICONIFIED_P.
  5590.     * dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and
  5591.     FRAME_GARBAGED_P accessors.
  5592.     * xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor.
  5593.     * xfns.c (x_set_foreground_color, x_set_background_color,
  5594.     x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the
  5595.     FRAME_VISIBLE_P accessor.
  5596.     (Fx_create_frame): Use FRAME_SET_VISIBILITY.
  5597.     * xterm.c (clear_cursor, x_display_bar_cursor,
  5598.     x_display_box_cursor): Use FRAME_SET_VISIBILITY.
  5599.  
  5600. Sat Dec 12 01:04:03 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5601.  
  5602.     * ymakefile (CFLAGS): #define HAVE_CONFIG_H too.
  5603.  
  5604.     * Makefile.in (distclean): Don't delete machine.h or system.h;
  5605.     they don't exist anymore.
  5606.  
  5607.     * Makefile.in (distclean): Don't delete autosave or backup files.
  5608.     (extraclean): New target; like distclean, but delete autosave
  5609.     and backup files too.
  5610.  
  5611. Fri Dec 11 01:03:48 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5612.  
  5613.     * search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
  5614.     distance traveled.
  5615.     (skip_chars): Return the distance traveled, as a Lisp_Object.
  5616.  
  5617.     * macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is
  5618.     negative; XFASTINT only works on values known to be positive.
  5619.     (Fexecute_kbd_macro): Check QUIT in the repetition loop.  If the
  5620.     macro is null, no characters are actually being read, so this
  5621.     matters.
  5622.  
  5623.     * Makefile.in (srcdir): New variable, not fully implemented.
  5624.     (xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and
  5625.     C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition.  Delete junk.cpp
  5626.     when done.
  5627.     * ymakefile (archlib): Variable definition deleted.  Run programs
  5628.     from ../lib-src directly, or use ${archlibdir}.
  5629.     (${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}.
  5630.     (${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not
  5631.     ${archlib}.
  5632.  
  5633.     * ymakefile (lisp): Don't include version.el in this list.
  5634.  
  5635.     Give subprocess creation a way to find a valid current directory
  5636.     for subprocesses when the buffer's default-directory is a handled
  5637.     name.
  5638.     * fileio.c (Funhandled_file_name_directory): New function.
  5639.     (Qunhandled_file_name_directory): New file-name-handler operation.
  5640.     (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
  5641.     initialize and staticpro Qunhandled_file_name_directory.
  5642.     * callproc.c (Fcall_process): Call Funhandled_file_name_directory
  5643.     on the buffer's default directory.  Do it earlier in the function
  5644.     so there's less to GCPRO.
  5645.     * process.c (create_process): Don't check the validity of the 
  5646.     buffer's default directory here...
  5647.     (Fstart_process): Instead, do it here; if we call
  5648.     Funhandled_file_name_directory here, there's less GCPROing to do.
  5649.  
  5650.     * callproc.c (Fcall_process_region): Return the value returned by
  5651.     Fcall_process.
  5652.  
  5653.     * fileio.c (find_file_handler): Rename this to
  5654.     Ffind_file_name_handler, and make it visible to lisp.  Add a QUIT
  5655.     to the loop which scans file-name-handler-alist.  All uses
  5656.     changed.
  5657.     (syms_of_fileio): Mention this new function in the docstring for
  5658.     Vfile_name_handler_alist.  defsubr Sfind_file_name_handler.
  5659.     * lisp.h (Ffind_file_name_handler): Added extern declaration.
  5660.     * dired.c: All uses of find_file_handler changed here too.
  5661.  
  5662.     * fileio.c (syms_of_fileio): Add staticpros for Qexpand_file_name,
  5663.     Qdirectory_file_name, Qfile_name_directory,
  5664.     Qfile_name_nondirectory, Qfile_name_as_directory.
  5665.  
  5666. Mon Dec  7 00:49:00 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5667.  
  5668.     * window.c (Fset_window_configuration): If we're restoring the
  5669.     configuration of a dead frame, don't bother rebuilding its window
  5670.     tree, restoring its focus redirection, or temporarily resizing it
  5671.     to fit the saved window configuration.  If the frame which was
  5672.     selected when the configuration was captured is now dead, don't
  5673.     try to select it.
  5674.  
  5675.     * frame.c (Fdelete_frame): Delete all the windows in the frame's
  5676.     window tree, using delete_all_subwindows.
  5677.     * window.c (delete_all_subwindows): Don't make this static
  5678.     anymore.
  5679.  
  5680. Thu Dec  3 20:24:08 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5681.  
  5682.         Make sure that frames' visible flag only changes at acceptable
  5683.     times.  See FRAME_SAMPLE_VISIBILITY's comments for details.
  5684.     * frame.h (struct frame): New fields called async_visible and
  5685.     async_iconified.
  5686.     (FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and
  5687.     non-MULTI_FRAME definitions.
  5688.     * xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the
  5689.     visible and iconified flags appropriately for each frame.
  5690.     (message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and
  5691.     iconified flags for the minibuffer frame.
  5692.     * frame.c (make_frame): Initialize async_visible and
  5693.     async_iconified properly.
  5694.     * xfns.c (Fx_create_frame): Initialize f->async_visible too.
  5695.     * xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
  5696.     Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
  5697.     f->visible.
  5698.     (x_do_pending_expose, x_raise_frame, x_lower_frame,
  5699.     x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
  5700.     Test and set f->async_visible and f->async_iconified, not
  5701.     f->visible or f->async_iconified.
  5702.  
  5703.     * keyboard.c (kbd_store_ptr): Declare this to be volatile, if
  5704.     __STDC__ is #defined.
  5705.     (Fdiscard_input): Use cast to keep GCC from complaining about the
  5706.     assignment of kbd_store_ptr to kbd_fetch_ptr.
  5707.  
  5708.     * xdisp.c (redisplay): Use FOR_EACH_FRAME to apply
  5709.     redisplay_windows to the root window of each frame.  This makes a
  5710.     #ifdef MULTI_FRAME unneeded, but it also means we recompute
  5711.     buffer_shared from scratch even on non-MULTI_FRAME configurations.
  5712.     Don't skip elements of Vframe_list that aren't frames; go ahead
  5713.     and crash here.
  5714.  
  5715.     * xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code
  5716.     which updates separate minibuffer frames specially; there's
  5717.     nothing there that won't work on a single-frame configuration.
  5718.  
  5719.     * dispextern.h (struct frame_glyphs): Doc fix.
  5720.  
  5721. Wed Dec  2 20:08:08 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  5722.  
  5723.     * dispnew.c: Remove dyked-out copy of safe_bcopy.
  5724.  
  5725.     * environ.c: File removed; Changes on 1/13/1992 made it
  5726.     unnecessary.
  5727.  
  5728. Tue Dec  1 23:42:25 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5729.  
  5730.     * process.c (wait_reading_process_input): Doc fix.
  5731.  
  5732. Thu Nov 26 13:17:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5733.  
  5734.     * next.h: Copy changes from 18.59:
  5735.     (NeXT): Defined.
  5736.     (BIG_ENDIAN): Define only if __BIG_ENDIAN__.
  5737.     (m68000, COMPILER_REGISTER_BUG): Defs deleted.
  5738.     (SIGN_EXTEND_CHAR, LIB_X11_LIB, NO_T_CHARS_DEFINES, UNEXEC): Defined.
  5739.     (LIBS_DEBUG, LIB_GCC, C_SWITCH_MACHINE, ORDINARY_LINK): Defined.
  5740.     (TEXT_START, TEXT_END, DATA_END, LD_SWITCH_MACHINE): Defined.
  5741.     (KERNEL_FILE): #undef it.
  5742.     (environ): Define as _environ.
  5743.  
  5744. Wed Nov 25 10:17:28 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5745.  
  5746.     * doc.c (store_function_docstring): New function, made from part
  5747.     of Fsnarf_documentation, which handles docstrings for macros
  5748.     properly.
  5749.     (Fsnarf_documentation): Call store_function_docstring.
  5750.  
  5751.     * data.c (indirect_function): Delete unused argument ERROR.
  5752.  
  5753. Mon Nov 23 20:26:17 1992  Jim Blandy  (jimb@apple-gunkies.gnu.ai.mit.edu)
  5754.  
  5755.     * Makefile.in (clean): Remove prefix-args.
  5756.  
  5757. Sat Nov 21 17:12:19 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5758.  
  5759.     * s/sol2.h (LD_SWITCH_SYSTEM): Make alternate version for GCC.
  5760.  
  5761. Thu Nov 19 16:54:22 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5762.  
  5763.     * m/sparc.h: Don't include <sys/param.h> here; that screws up the
  5764.     xmakefile.  Instead, include it in getloadavg.c, which is the only
  5765.     place that uses LOAD_AVE_CVT, which is the only reason
  5766.     <sys/param.h> was here in the first place.
  5767.  
  5768. Sun Nov 15 00:46:41 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5769.  
  5770.     * dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
  5771.     number of arguments to mark_window_display_accurate.
  5772.  
  5773.     * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
  5774.     and #endif.
  5775.  
  5776.     * systty.h: Doc fix.
  5777.     
  5778.     * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
  5779.     Added VMS changes from Roland Roberts.
  5780.     * vmspaths.h: New version from Roland Roberts.
  5781.  
  5782.     * xdisp.c (display_string): Use w's buffer's value of
  5783.     tab-width to display the string, instead of the current buffer's,
  5784.     which could be anything.
  5785.  
  5786.     * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
  5787.  
  5788.     * process.c (read_process_output): Save, widen, insert the process
  5789.     output, and then restore the restriction if inserting text outside
  5790.     the visible region.
  5791.  
  5792. Sat Nov 14 21:18:02 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5793.  
  5794.     * buffer.c (Ferase_buffer): Doc fix.
  5795.  
  5796.     * dispnew.c (safe_bcopy): Use the right terminating condition in
  5797.     the loop which uses multiple bcopy calls to transfer a block to an
  5798.     overlapping higher block.
  5799.  
  5800. Fri Nov 13 03:44:48 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5801.  
  5802.     * process.c (Fstart_process): Establish an unwind-protect to
  5803.     remove PROC from the process list if an error occurs while
  5804.     starting it.
  5805.     (start_process_unwind): New function to help with that.
  5806.     (create_process): There's no need to explicitly call
  5807.     remove_process if the fork fails; the record_unwind_protect in
  5808.     Fstart_process will take care of it.
  5809.  
  5810.     * commands.h (unread_command_event): Doc fix.
  5811.  
  5812.     Don't ever throw away switch-frame events.
  5813.     * lread.c: #include "keyboard.h".
  5814.     (Fread_char, Fread_char_exclusive): Don't signal an
  5815.     error for or throw away switch-frame events; instead, put them off
  5816.     until after we've found a character we can respond to.
  5817.     * commands.h (unread_switch_frame): Declare this extern.
  5818.     * keyboard.c (unread_switch_frame): Don't declare this static.
  5819.     * ymakefile (lread.o): Note that this depends on keyboard.h.
  5820.  
  5821.     * keyboard.c (Vlast_event_frame): Doc fix.
  5822.  
  5823.     * process.c (wait_reading_process_input): Test the C preprocessor
  5824.     symbol "ultrix", not "__ultrix__" to see if we should ignore
  5825.     ENOMEM errors from select.
  5826.  
  5827.     * fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
  5828.     entire string.
  5829.  
  5830.     * buffer.c (Fbury_buffer): Make this behave as in 18.59, although
  5831.     that behavior is very odd - only remove the buffer from the
  5832.     selected window if BUFFER was nil or omitted.
  5833.  
  5834.     * keyboard.c (read_char): Write composite events to the dribble
  5835.     file properly.
  5836.  
  5837.     * keyboard.c (init_keyboard): Initialize Vlast_event_frame to
  5838.     Qnil, rather than the selected frame.
  5839.  
  5840.     * mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
  5841.     remove DATA_SEG_BITS from the pointer before testing if the
  5842.     pointer fits in VALBITS.
  5843.  
  5844.     * Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
  5845.     variable in these rules, just as in the `doall' rule.
  5846.  
  5847.     * ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
  5848.     (free_bloc): This can now be simplified.
  5849.  
  5850.     * ralloc.c (r_alloc_sbrk): When we allocate new space for the
  5851.     malloc heap, zero it out even if we don't have any blocs in the
  5852.     free list.
  5853.  
  5854. Thu Nov 12 02:01:12 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5855.  
  5856.     * process.c (process_send_signal): On systems which have both
  5857.     the TIOCGETC and TCGETA ioctls, just use the former.
  5858.  
  5859.     * xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
  5860.     range.
  5861.  
  5862.     * xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error
  5863.     message format; use NUM_CUT_BUFFERS instead of literal 7.
  5864.  
  5865.     * keyboard.c (lispy_modifier_list): Added sanity check before
  5866.     indexing into modifier_symbols.
  5867.  
  5868.     * keyboard.c (add_command_key): When copying the contents of the
  5869.     old this_command_keys to new_keys, remember to multiply size by
  5870.     sizeof (Lisp_Object) to get the amount we really need to copy.
  5871.  
  5872.     Rename unread_command_char to unread_command_event; it has
  5873.     subtly different semantics now, and we should use
  5874.     `make-obsolete-variable' to warn people.
  5875.     * command.h (unread_command_char): Change name in extern declaration.
  5876.     * keyboard.c (unread_command_char): Rename.
  5877.     (command_loop_1, read_char, Finput_pending, Fdiscard_input,
  5878.     quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
  5879.     references.
  5880.     * lread.c (Fread_char): Change reference.
  5881.     * minibuf.c (temp_echo_area_glyphs): Change reference to
  5882.     unread_command_char to unread_command_event.
  5883.     * xfns.c (unread_command_char): Change name in extern declaration
  5884.     to unread_command_event.
  5885.  
  5886. Wed Nov 11 00:43:40 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5887.  
  5888.     * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
  5889.     for Ultrix version 4.1, and the current version is 4.3.
  5890.  
  5891.     * s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
  5892.     * process.c (process_send_signal): Put all the code for sending
  5893.     signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
  5894.     whether to use the Berkeley-style or SYSV-style ioctls by seeing
  5895.     which ioctl commands are #defined.
  5896.  
  5897.     * minibuf.c (read_minibuf): If get_minibuffer gives the
  5898.     new minibuffer a nil default directory, find another buffer with a
  5899.     better default directory and use that one's instead.
  5900.  
  5901. Tue Nov 10 23:06:08 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5902.  
  5903.     * process.c (process_send_signal): Doc fix.
  5904.  
  5905.     * keyboard.c (read_key_sequence): Don't use
  5906.     save_excursion_{save,restore} to protect the caller against buffer
  5907.     switches; use Fset_buffer and Fcurrent_buffer; redisplay might
  5908.     change point, and we don't want to undo that.
  5909.  
  5910.     * keyboard.c (kbd_buffer_get_event): When checking a mouse
  5911.     movement for a frame switch, don't assume Vlast_event_frame
  5912.     contains a Lisp_Frame object.
  5913.  
  5914. Fri Nov  6 17:48:59 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5915.  
  5916.     * s/dgux.h (SYSTEM_TYPE): Use berkeley-unix.
  5917.  
  5918. Wed Nov  4 00:54:59 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5919.  
  5920.     * alloc.c: #include "frame.h" unconditionally.  frame.h does the
  5921.     right thing when MULTI_FRAME isn't defined.
  5922.  
  5923.     * Makefile.in: Rearrange dependencies to make sure that xmakefile
  5924.     is built before we try to use it, even using a parallel make.
  5925.  
  5926.     Changes for SYSV from Eric Raymond:
  5927.     * process.c [SYSV]: Don't include <termios.h>, <termio.h>, or
  5928.     <fcntl.h>.
  5929.     (process_send_signal): Don't try to send SIGTSTP
  5930.     unless SIGTSTP is defined.
  5931.     * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use
  5932.     TCGETA, not TIOCGETP.
  5933.     * systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not
  5934.     (offset).  Don't forget the while corresponding to the do.
  5935.     Include USG in the list of systems that have a tzname array.
  5936.  
  5937.     * keyboard.c (read_key_sequence): Removed the
  5938.     replay_sequence_new_buffer label; replay_sequence should be here
  5939.     instead.
  5940.  
  5941.     Arrange to get compile-time errors for uses of Lisp_Frame in a
  5942.     non-MULTI_FRAME configuration.
  5943.     * lisp.h [not MULTI_FRAME]: Don't declare the Lisp_Frame tag.
  5944.     * minibuf.c (read_minibuf): Protect call to Fredirect_frame_focus
  5945.     with a #ifdef MULTI_FRAME.
  5946.     * window.c (Fset_window_configuration): Protect call to
  5947.     Fselect_frame with a #ifdef MULTI_FRAME.
  5948.     [not MULTI_FRAME] (Fcurrent_window_configuration): Don't bother
  5949.     setting the window configuration's selected_frame member.
  5950.     * keyboard.c (Vlast_event_frame): Arrange for this to exist iff
  5951.     MULTI_FRAME is defined.
  5952.     [not MULTI_FRAME] (syms_of_keyboard): Don't DEFVAR Vlast_event_frame.
  5953.     [not MULTI_FRAME] (read_char): Don't try to set Vlast_event_frame.
  5954.     [not MULTI_FRAME] (kbd_buffer_store_event): Don't try to set
  5955.     Vlast_event_frame for quit characters.
  5956.     [not MULTI_FRAME] (kbd_buffer_get_event): Don't try to generate
  5957.     switch-frame events.
  5958.  
  5959.     * buffer.c (init_buffer): If PWD is accurate, use it instead of
  5960.     calling getwd.
  5961.     #include <sys/types.h> and <sys/stat.h>, for the call to stat.
  5962.  
  5963.         Indicate whether an autoload form stands for a keymap or not.
  5964.     * eval.c (Fautoload): Renamed fifth argument TYPE.  Document the
  5965.     fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
  5966.     when loaded.
  5967.     (Fmacroexpand): Instead of assuming that every autoload
  5968.     form with a fifth element is a macro, actually check the fifth
  5969.     element against t and `macro', which are the only values which
  5970.     denote macroness.
  5971.     * keymap.c (get_keymap_1): Don't try to autoload OBJECT's function
  5972.     unless the autoload form indicates that it's a keymap.
  5973.  
  5974. Tue Nov  3 20:09:26 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5975.  
  5976.     * .gdbinit (mips): New command.
  5977.  
  5978. Sat Oct 31 18:26:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5979.  
  5980.     * fileio.c (Fmake_directory_internal): Renamed from Fmake_directory.
  5981.     Pass nil as third arg to handler.
  5982.     Lisp function `make-directory' is now in files.el.
  5983.  
  5984. Fri Oct 30 17:27:22 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5985.  
  5986.     Clean up errors due to treating Lisp_Objects like integers.
  5987.     * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
  5988.     to val; don't use XSET.  Make sure that the value of the
  5989.     abbrev-symbol is a string.
  5990.     * alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.
  5991.     * buffer.c (reset_buffer): Don't assign to b->save_length as if it
  5992.     were an int; use XFASTINT.
  5993.     * buffer.h (Fbuffer_name, Fget_file_buffer): Added external
  5994.     declarations.
  5995.     * bytecode.c (Fbyte_code): Use EQ to compare string_saved with
  5996.     bytestr.
  5997.     * casefiddle.c (operate_on_word): Declare end to be an int, not a
  5998.     Lisp_Object.
  5999.     * casetab.c (set_case_table): Declare this to be static, and
  6000.     return a Lisp_Object. Add static declaration for this
  6001.     before Fset_case_table and Fset_standard_case_table.
  6002.     (Fset_case_table, Fset_standard_case_table): Return the return
  6003.     value of set_case_table, instead of returning garbage.
  6004.     * commands.h (unread_command_char): Declare this to be a
  6005.     Lisp_Object, not an int.
  6006.     * data.c (Fset): See if current_alist_element points to itself
  6007.     using EQ, not ==.
  6008.     (float_arith_driver): Declare this extern above arith_driver.
  6009.     * dired.c (find_file_handler): Declare this extern.
  6010.     (Ffile_attributes): Use NILP, not == Qnil.
  6011.     * dispextern.h (sit_for): Declare this extern.
  6012.     * doc.c: #include keyboard.h.
  6013.     * floatfns.c (Flog): Don't forget to declare the BASE argument a
  6014.     Lisp_Object.
  6015.     * fns.c: #include keyboard.h.
  6016.     (Fdelete): Check if Fequal returns Qnil, not zero.
  6017.     * frame.c: #include buffer.h.
  6018.     * keyboard.c: #include dispextern.h.
  6019.     (recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
  6020.     these to return Lisp_Objects at the very top of the file, to avoid
  6021.     having them implicitly declared as ints.
  6022.     (echo_char): Use EQ to compare C to help_char.
  6023.     (read_char): Remember to apply XFASTINT to the return value of
  6024.     Flength before using it.  Apply XINT to c when clearing its high
  6025.     bits and meta bits, and when writing it to the dribble file.
  6026.     (read_char_menu_prompt): Use EQ to compare obj with
  6027.     menu_prompt_more_char and its control-character analog.
  6028.     (read_key_sequence): Declare PROMPT to be char *, not a
  6029.     Lisp_Object.  Use the appropriate accessors on keybuf when looking
  6030.     for ASCII function key sequences.
  6031.     * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
  6032.     Fmouse_click_p, read_char): Add external declarations for these.
  6033.     * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
  6034.     that Flength returns an integer.
  6035.     * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
  6036.     Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
  6037.     Fdirectory_file_name, Ffile_name_directory,
  6038.     expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
  6039.     Fundo_boundary, truncate_undo_list): Add extern declarations for
  6040.     these.
  6041.     * lread.c (read_char): Add an extern declaration for this,
  6042.     indicating that it returns a Lisp_Object.
  6043.     * minibuf.c (read_minibuf): Use EQ to compare, not ==.
  6044.     (temp_echo_area_glyphs): Use XFASTINT to assign to
  6045.     unread_command_char.
  6046.     * print.c (print): Cast the frame's address to an integer before
  6047.     passing it to sprintf to form the frame's printed form.
  6048.     * process.c: (status_convert): Declare this to return a
  6049.     Lisp_Object at the top of the file.
  6050.     (decode_status): Don't untag XCONS (tem)->cdr before storing it in
  6051.     tem; tem is a Lisp_Object, too.
  6052.     (process_send_signal): Declare this to be static void.  Don't
  6053.     return Qnil; nobody cares.
  6054.     (sigchld_handler): Use XFASTINT to manipulate p->infd.
  6055.     * search.c (Fstore_match_data): Don't assume Flength returns a
  6056.     C integer.
  6057.     * undo.c (record_insert): Use accessors on BEG and LENGTH.
  6058.     (truncate_undo_list): Use NILP, not == Qnil.
  6059.     * window.c (Fwindow_width, Fset_window_hscroll): Use accessors on
  6060.     w->width, w->left, w->hscroll, and arguments.
  6061.     (replace_window): Use EQ, not ==.
  6062.     (Fdelete_window): p->top and p->left are not C integers.
  6063.     (Fnext_window, Fprevious_window): Use EQ, not ==.
  6064.     * window.h (make_window, window_from_coordinates,
  6065.     Fwindow_dedicated_p): Add extern declarations for these.
  6066.     * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow
  6067.     positions, not !=.
  6068.     (mark_window_display_accurate): Barf if WINDOW isn't a window.
  6069.     (display_string): Test buffer_defaults.ctl_arrow using NILP,
  6070.     instead of comparing it with zero.
  6071.     * xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is
  6072.     an int, not a Lisp_Object.
  6073.     (x_set_mouse_color): Give separate error messages for the
  6074.     different cursors we try to set.
  6075.     (Fx_geometry): Declare STRING to be a Lisp_Object.
  6076.     (Fx_create_frame): No need to use XSET to assign NAME to f->name;
  6077.     they're both Lisp_Objects.
  6078.     (adjust_scrollbars): Use XINT to access w->hscroll.
  6079.     (Fx_open_connection): x_screen_count, x_release, x_screen_height,
  6080.     x_screen_height_mm, x_screen_width, x_screen_width_mm,
  6081.     x_save_under, and x_screen_planes are integers, not Lisp_Objects.
  6082.     (syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
  6083.     integers, not Lisp_Objects.
  6084.     * xselect.c (own_selection): selection_type is an X Atom value,
  6085.     not a Lisp_Object.
  6086.     (x_selection_arrival): Declare this static, and add a forward
  6087.     declaration at the top of the page.
  6088.     * xterm.c (x_convert_modifiers): Declare this to return an
  6089.     unsigned int, not a Lisp_Object.  Remember that the quiescent
  6090.     value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
  6091.     are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
  6092.     Lisp_Objects, not ints.
  6093.     (XTread_socket): Declare this to return int, not Lisp_Object.
  6094.     When calling construct_mouse_click on a non-scrollbar click, pass
  6095.     PART as Qnil, not zero.
  6096.     (x_calc_absolute_position): Remember that x_screen_width and
  6097.     x_screen_height are ints, not Lisp_Objects.
  6098.     * xterm.h (x_screen_count, x_release, x_screen_height,
  6099.     x_screen_height_mm, x_screen_width, x_screen_width_mm,
  6100.     x_save_under, x_screen_planes): Declare this as ints, to match
  6101.     their definitions in xterm.c.
  6102.     * ymakefile: Note the new dependencies caused by the new
  6103.     #inclusions above.
  6104.  
  6105.     * xdisp.c (last_arrow_position, last_arrow_string): Make these
  6106.     static.
  6107.  
  6108.     * process.c (pty_process): Variable deleted; it's no longer used.
  6109.     (syms_of_process): Don't initialize it.
  6110.  
  6111.     * buffer.h (struct buffer_local_types): This declaration needed an
  6112.     extern qualifier.
  6113.  
  6114.     * floatfns.c (Fexpt): Don't return the value of the XSET function
  6115.     call; that's not guaranteed to be the value assigned.
  6116.  
  6117.     * dired.c (Ffile_attributes): Doc fix.
  6118.  
  6119.     * lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER):
  6120.     Removed these definitions; we should be using the versions whose
  6121.     names use underscores.
  6122.  
  6123.     * keyboard.c (echobuf): Make this 300 characters, not 100.  This
  6124.     isn't a real fix, but it's quick.
  6125.  
  6126. Fri Oct 30 00:49:57 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6127.  
  6128.     * callint.c (preserved_fns): New var.
  6129.     (Fcall_interactively): Preserve all fns listed in preserved_fns.
  6130.     (syms_of_callint): Set preserved_fns and staticpro it.
  6131.     Don't set up Qregion_beginning or Qregion_end.
  6132.  
  6133. Thu Oct 29 01:28:54 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6134.  
  6135.     * dispnew.c (count_blanks): Leave argument r constant, and increment p.
  6136.  
  6137. Wed Oct 28 16:30:55 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6138.  
  6139.     * xdisp.c (message): Re-write this in terms of message1.
  6140.     (message1): Move code to clear out echo_area_glyphs and
  6141.     previous_echo_glyphs from message to here.
  6142.  
  6143.     * keyboard.c (read_char): When returning an unread switch-frame
  6144.     event, jump to reread_first to return it, rather than reread; this
  6145.     makes sure the event gets echoed (if appropriate) and goes into
  6146.     this_command_keys.
  6147.  
  6148.     * keyboard.c (read_key_sequence): If the key sequence starts with
  6149.     a mouse click, read the key sequence using the keymaps of the
  6150.     buffer clicked on, not the current buffer.
  6151.  
  6152.     * keyboard.c (unread_switch_frame): Make this static, to indicate
  6153.     that nobody outside of this file uses it.
  6154.  
  6155.     * keymap.c: Deal with autoloaded keymaps properly.
  6156.         (get_keymap_1): Renamed to inner_get_keymap; made
  6157.     static.  New argument AUTOLOAD says to pursue autoloads if
  6158.     non-zero.
  6159.     (Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
  6160.     not to perform autoloads.
  6161.     (Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
  6162.     autoloading may GC, remember that we have to GCPRO our local
  6163.     variables now.
  6164.     (Fminor_mode_key_binding): Call get_keymap instead of calling
  6165.     get_keymap_1 with equivalent arguments.
  6166.     * keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
  6167.     (read_key_sequence): When pursuing potential bindings in the
  6168.     function key map, ask get_keymap_1 to perform autoloading.  This
  6169.     is hardly important, but it's consistent.
  6170.     * doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
  6171.     perform autoloads.  Autoloading might GC; we need to GCPRO our
  6172.     local variables now.
  6173.     (Fdocumentation, Fdocumentation_property): Autoloading in
  6174.     Fsubstitute_command_keys might GC; we need to GCPRO our
  6175.     local variables now.
  6176.  
  6177. Wed Oct 28 04:03:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6178.  
  6179.     * s/irix3-3.h (HAVE_SETSID, IRIX): Defined.
  6180.  
  6181.     * s/irix4-0.h: New file.
  6182.  
  6183. Tue Oct 27 23:26:14 1992  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  6184.  
  6185.         * sysdep.c (get_system_name): Use gethostname for USG systems if
  6186.         HAVE_GETHOSTNAME is defined.
  6187.         * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.
  6188.  
  6189. Tue Oct 27 20:34:26 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6190.  
  6191.     * callproc.c: Arrange for synchronous processes to get SIGINT the
  6192.     first time the user quits, or SIGKILL if the user quits again.
  6193.     #include "syssignal.h".
  6194.     (call_process_kill): New function.
  6195.     (call_process_cleanup): Send SIGINT to the subprocess, and then
  6196.     arrange to call call_process_kill if the user quits while we wait
  6197.     for it to terminate.
  6198.     (Fcall_process, Fcall_process_region): Doc fix.
  6199.  
  6200. Tue Oct 27 01:56:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6201.  
  6202.     * unexmips.c [sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
  6203.     (unexec): #if 0 the error check of hdr.fhdr.f_nscns.
  6204.     Clear text_section->s_scnptr.
  6205.  
  6206.     * callint.c (Fcall_interactively): Preserve (region-beginning)
  6207.     and (region-end) into the command history when they appear
  6208.     in an interactive spec which is a call to `list'.
  6209.  
  6210.     * batcomp.com: New file.  Waiting for papers from richard@ttt.kth.se.
  6211.  
  6212. Fri Oct 23 16:38:47 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6213.  
  6214.     * emacs.c (main): Correct spelling of HAVE_X_WINDOW to
  6215.     HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu.
  6216.  
  6217. Fri Oct 23 07:58:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6218.  
  6219.     * ralloc.c (relinquish):
  6220.     Adjust page_break_value by amount of memory actually given back.
  6221.     (r_alloc_sbrk): Provide hysteresis in relocating the blocs.
  6222.  
  6223. Thu Oct 22 07:53:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6224.  
  6225.     * ralloc.c (relinquish): Sign of arg to *real_morecore was backwards.
  6226.  
  6227. Wed Oct 21 04:54:52 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6228.  
  6229.     * ralloc.c (relinquish): Never free less than extra_bytes;
  6230.     keep extra_bytes of empty space.
  6231.     (obtain): Always get extra_bytes additional space.
  6232.     (r_alloc_init): Set extra_bytes and page_size.
  6233.     (ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size.
  6234.  
  6235. Tue Oct 20 00:17:03 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6236.  
  6237.     * keyboard.c (syms_of_keyboard): Properly staticpro this_command_keys.
  6238.  
  6239.     * mem-limits.h (get_lim_data): Make it static.
  6240.  
  6241.     * ymakefile (mallocobj): Use vm-limit.o along with ralloc.o.
  6242.  
  6243.     * ralloc.c [emacs]: Define POINTER and SIZE.
  6244.     [!emacs]: Delete definition of EXCEEDS_LISP_PTR.
  6245.  
  6246.     * eval.c (grow_specpdl): Increase max_specpdl_size before Fsignal.
  6247.  
  6248. Mon Oct 19 14:27:05 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6249.  
  6250.     * xfns.c (x_set_face): Dyked out this function; it has no callers,
  6251.     and refers to an obsolete version of struct face.
  6252.  
  6253.     * xterm.c (compose_status): New variable.
  6254.     (XTread_socket): Pass it by reference to XLookupString.
  6255.  
  6256. Sun Oct 18 04:07:15 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6257.  
  6258.     * s/esix5r4.h (BROKEN_FIONREAD): Defined.
  6259.  
  6260. Fri Oct 16 04:27:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6261.  
  6262.     * s/vms5-5.h: New file.
  6263.  
  6264. Fri Oct 16 00:19:23 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6265.  
  6266.     * xdisp.c (message): If M is zero, clear echo_area_glyphs and
  6267.     previous_echo_glyphs, so that the minibuffer shows through.
  6268. *       * editfns.c (Fmessage): With no arguments, clear any active
  6269.     message; let the minibuffer contents show through.
  6270.     * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
  6271.     and previous_echo_glyphs; let message do that work.
  6272.  
  6273.     * keyboard.c (this_command_keys): Make this a vector, instead of
  6274.     an array of Lisp_Objects.
  6275.     (this_command_keys_size): Deleted.
  6276.     (echo, add_command_key, Fthis_command_keys): Adjusted
  6277.     appropriately.
  6278.     (init_keyboard): Don't allocate it here.
  6279.     (syms_of_keyboard): Allocate it here, and staticpro it.
  6280.     * keyboard.h (this_command_keys): Extern declaration changed.  Doc fix.
  6281.         * callint.c (Fcall_interactively): Change handling of 'e' spec;
  6282.     this_command_keys is now a vector.
  6283.  
  6284.     * keyboard.c (read_char): Call ourselves with the appropriate
  6285.     number of arguments.
  6286.     (read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to
  6287.     store things in it.
  6288.  
  6289.     * window.c: Try to deal coherently with deleted windows:
  6290. *    (Flive_window_p): New function.
  6291.     (Qlive_window_p): New variable, to name it in type errors.
  6292.     (syms_of_window): Defsubr Slive_window_p, init and staticpro
  6293.     Qlive_window_p.
  6294.     * lisp.h (CHECK_LIVE_WINDOW): New predicate.
  6295.     (Qlive_window_p): Extern declaration for this.
  6296.     * window.c (decode_window): Use CHECK_LIVE_WINDOW instead of
  6297.     CHECK_WINDOW; the only thing a user should be able to do to a dead
  6298.     window is check its type.
  6299.     (Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
  6300.     Fdelete_other_windows, Fselect_window, Fsplit_window,
  6301.     Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
  6302.     CHECK_WINDOW.
  6303.     * frame.c (make_frame_without_minibuffer, Fwindow_frame): Same.
  6304.     * sunfns.c (Fsun_menu_internal): Same.
  6305.     * xmenu.c (Fx_popup_menu): Same.
  6306.     * window.c (Fdelete_window): If WINDOW is a deleted window, do nothing;
  6307.     there's no harm in allowing people to delete deleted windows.
  6308.     Delete all of WINDOW's subwindows, too.
  6309.     (delete_all_subwindows): Set the buffer, vchild, and hchild of the
  6310.     windows we delete all to nil.
  6311.     * window.h (struct window): Doc fix.
  6312.  
  6313.     * window.c (Fwindow_minibuffer_p): Make the WINDOW argument
  6314.     optional, like all the other window-querying functions.
  6315.  
  6316.     * window.c (Fpos_visible_in_window_p): Use decode_window to handle
  6317.     the WINDOW argument, instead of writing out that function's code.
  6318.  
  6319.     * window.c (check_frame_size): Don't define this extern; that
  6320.     doesn't mean anything.
  6321.  
  6322.     * xterm.c: Clean up some of the caps lock handling:
  6323.     (x_shift_lock_mask): New variable.
  6324.     (x_find_modifier_mappings): Set it, based on the modifier mappings.
  6325.     (x_convert_modifiers): Use x_shift_lock_mask, instead of assuming
  6326.     that the lock bit always means to shift the character.
  6327.     (XTread_socket): When handling KeyPress events, don't pass an
  6328.     XComposeStatus structure along to XLookupString.  When handling
  6329.     MappingNotify events, call XRefreshKeyboardMapping for both
  6330.     MappingModifier and MappingKeyboard events, not just the latter.
  6331.  
  6332. Thu Oct 15 22:20:52 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6333.  
  6334.     * window.c (Fdelete_window): Choose an alternative when we delete
  6335.     any frame's selected window, not just when we delete the selected
  6336.     frame's selected window.
  6337.  
  6338. Thu Oct 15 19:44:00 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6339.  
  6340.     * vm-limit.c (check_memory_limits): Declare __morecore.
  6341.     Remove unused variable `result'.
  6342.  
  6343. Thu Oct 15 19:29:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6344.  
  6345.     * vm-limit.c (morecore_with_warning): Removed.
  6346.     (check_memory_limits): New fn; most code from
  6347.     morecore_with_warning, but only checks limits, doesn't do any work.
  6348.     (memory_warnings): Set __after_morecore_hook to check_memory_limits;
  6349.     don't set __morecore.
  6350.  
  6351. Wed Oct 14 15:35:52 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6352.  
  6353.     * intervals.c (traverse_intervals): New parameter `depth'.
  6354.     Increment this when passing recursively.
  6355.  
  6356.     * alloc.c (mark_interval_tree): Pass 0 as initial depth argument
  6357.     to traverse_intervals.
  6358.  
  6359.     * xterm.h: Declaration of struct face removed.
  6360.  
  6361.     * dispextern.h: New element of frame structure `max_ascent'.
  6362.     Removed elements `nruns' and `face_list'.
  6363.     LINE_HEIGHT and LINE_WIDTH macros removed.
  6364.     New struct face with associated typedef FACE declared, along with
  6365.     accessing macros.
  6366.  
  6367.     * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
  6368.     `face_list' elements.  Do copy new `max_ascent' frame element.
  6369.  
  6370.     * dispnew.c (scroll_frame_lines): All references to frame elements
  6371.     `nruns' and 'face_list' removed.  Handle new element `max_ascent'.
  6372.     (free_frame_glyphs): Don't free nonexistent elements `nruns' and
  6373.     `face_list';  do free `max_ascent' element.
  6374.     (make_frame_glyphs): Don't allocate nonexistent elements `nruns'
  6375.     and `face_list';  do allocate `max_ascent' element.
  6376.     (update_frame): Replaced use of macro LINE_HEIGHT with element
  6377.     frame element `pix_height'.
  6378.  
  6379. Wed Oct 14 00:07:19 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6380.  
  6381.     * keyboard.c (modify_event_symbol): Arrange to set the
  6382.     click_modifier bit on otherwise unmodified mouse clicks.
  6383.  
  6384.     * keymap.c (store_in_keymap): Don't forget to QUIT in the
  6385.     keymap-scanning loop.  Don't treat vectors as binding tables if
  6386.     they're the wrong length.
  6387.  
  6388. Mon Oct 12 18:11:03 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6389.  
  6390.     * keyboard.c (kbd_buffer_get_event): Remember that
  6391.     *mouse_position_hook may set *FRAME to 0; don't generate
  6392.     switch-frame events in this case.  Fix fencepost bug in fetching
  6393.     events from keyboard buffer.
  6394.  
  6395. Mon Oct 12 18:05:23 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6396.  
  6397.     * ymakefile (ralloc.o): Delete dep mem_limits.h
  6398.     (vm-limit.o): Rename dep to mem-limits.h.
  6399.  
  6400. Mon Oct 12 17:40:50 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6401.  
  6402.     * ralloc.c: Removed #include "mem-limits.h".
  6403.     [emacs]: Moved #undef NULL and #include "getpagesize.h" here.
  6404.     [! emacs]: #include <unistd.h>, <malloc.h>, <string.h>.
  6405.     (r_alloc_init): Use NIL, not NULL.
  6406.  
  6407. Mon Oct 12 17:07:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6408.  
  6409.     * ralloc.c (sbrk): Removed decl.
  6410.     (real_morecore): New static variable.
  6411.     (warnlevel, warn_function, check_memory_limits): Removed.
  6412.     (obtain): Don't call check_memory_limits.
  6413.     (obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place
  6414.     of sbrk; it returns 0 for errors, not -1.
  6415.     (r_alloc_init): Set real_morecore to old value of __morecore.
  6416.     Don't initialize lim_data or warnlevel, and don't call get_lim_data.
  6417.     (memory_warnings): Function removed.
  6418.  
  6419. Mon Oct 12 16:59:52 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6420.  
  6421.     * vm-limit.c (warnfunction): Renamed to warn_function (was used
  6422.     inconsistently).
  6423.     (morecore_with_warning, memory_warnings): Change callers (were
  6424.     inconsistent).
  6425.  
  6426. Mon Oct 12 16:10:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6427.  
  6428.     * mem-limits.h (start_of_data): Removed extra defn.
  6429.     (get_lim_data): Define to return void.
  6430.  
  6431. Mon Oct 12 14:43:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6432.  
  6433.     * mem_limits.h: File renamed to mem-limits.h.
  6434.     * vm-limit.c, ralloc.c: Changed #includes.
  6435.  
  6436. Sun Oct 11 02:51:22 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6437.  
  6438.     * syntax.c (find_defun_start): scan_buffer returns start of line;
  6439.     no need to advance over newline.
  6440.  
  6441.     * vm-limit.c (morecore_with_warning):
  6442.     Reduce warnlevel when usage drops far enough.
  6443.     * ralloc.c (check_memory_limits): Likewise.
  6444.  
  6445.     * vm-limit.c (memory_warnings): Renamed from malloc_init.
  6446.     Don't set lim_data or warnlevel.  Use start_of_data if start is 0.
  6447.     * ralloc.c (memory_warnings): New function; just set warning data.
  6448.     Use start_of_data if start is 0.
  6449.     * emacs.c (Fdump_emacs, main): Use memory_warnings.
  6450.  
  6451.     * mem_limits.h [!emacs]: Don't define POINTER, SIZE or NULL.
  6452.     (start_of_data): Define as macro, if !emacs.
  6453.     * ralloc.c [!emacs]: Don't include config.h or lisp.h;
  6454.     instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
  6455.     * vm-limit.c [!emacs]: Don't include config.h or lisp.h;
  6456.     instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
  6457.  
  6458.     * ralloc.c [!emacs] (safe_bcopy): Define as macro using memmove.
  6459.     (r_alloc_free): Clear *ptr.
  6460.     (r_alloc_init): Renamed from malloc_init.  Take no args.
  6461.     Make it static; declare at top of file.
  6462.     (r_alloc): Call r_alloc_init, if not initialized yet.
  6463.     (r_alloc_initialized): Renamed from malloc_initialized; moved to top.
  6464.     (ROUNDUP): Subtract 1, in case arg is already aligned.
  6465.  
  6466.     * mem_limits.h (EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR.
  6467.     * vm-limit.c (morecore_with_warning): Use EXCEEDS_LISP_PTR.
  6468.     * ralloc.c (check_memory_limits): Use EXCEEDS_LISP_PTR.
  6469.  
  6470. Sat Oct 10 14:53:28 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6471.  
  6472.     * keyboard.c (Vlast_event_frame): Make this variable exist even
  6473.     when MULTI_FRAME isn't #defined.  People might find it
  6474.     necessary for writing correct programs, even when the programs
  6475.     don't explicitly use multiple frames.
  6476.     (read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need
  6477.     to test MULTI_FRAME before setting Vlast_event_frame.
  6478.     (syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
  6479.     MULTI_FRAME is defined.
  6480.  
  6481.         * keyboard.c: Add switch-frame events.
  6482.     (Qswitch_frame): New event header symbol.
  6483.     (head_table): Include Qswitch_frame in the table of event heads.
  6484.     (kbd_buffer_get_event): Detect when a frame switch has occurred,
  6485.     and return a frame switch event before the enqueued event.
  6486.     (make_lispy_switch_frame): New function.
  6487.     (unread_switch_frame): New variable.
  6488.     (read_key_sequence): Don't throw away the key sequence if the user
  6489.     switches frames in the middle of the sequence.  Instead, when we
  6490.     receive a switch-frame event in the middle of a key sequence, save
  6491.     it, and stuff it into unread_switch_frame when the sequence
  6492.     is complete.
  6493.     (read_char): If unread_switch_frame is set, return that value.
  6494.     (command_loop_1): No need to check Vlast_event_frame and select
  6495.     new frames here; that's taken care of by switch-frame events now.
  6496.     (syms_of_keyboard): Initialize and staticpro unread_switch_frame.
  6497.     * keyboard.h (Qswitch_frame): Declare this extern.
  6498.  
  6499.     * frame.c: #include "commands.h" and "keyboard.h".
  6500.     (Fselect_frame): Make this interactive, and accept
  6501.     switch-frame events as arguments, so we can bind this function to
  6502.     switch-frame events.
  6503.     (keys_of_frame): New function; bind switch-frame to Fselect_frame.
  6504.     * emacs.c (main): Call keys_of_frame.
  6505.     * keymap.c (initial_define_lispy_key): New function, for defining
  6506.     non-ascii keys.
  6507.     * ymakefile: Note that frame.o depends on commands.h and keyboard.h.
  6508.  
  6509.     * callint.c (Fcall_interactively): Allow multiple 'e' specs.
  6510.     (Finteractive): Doc fix.
  6511.     * keyboard.h (this_command_keys, this_command_key_count): Added
  6512.     external declarations.
  6513.  
  6514.     * keymap.c (access_keymap): Treat bindings for Qt as default
  6515.     bindings, when new argument T_OK is non-zero.
  6516.     (get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with
  6517.     T_OK false.
  6518.     * keyboard.c (follow_key, read_key_sequence): Call access_keymap
  6519.     with T_OK true.
  6520.  
  6521.     * keyboard.c (apply_modifiers): Copy the value of BASE's
  6522.     Qevent_kind property to the new symbol.
  6523.  
  6524.     * keyboard.c (syms_of_keyboard): Qevent_kind should be initialized
  6525.     to intern ("event-kind"), not intern ("event-type").
  6526.  
  6527. Sat Oct 10 02:54:17 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6528.  
  6529.     * fileio.c (Fwrite_region): If VISIT is a file name,
  6530.     use that as file name to visit, and print it in the message.
  6531.     Use it for file locking too.
  6532.  
  6533.     * m-ibmps2-aix.h [__GNUC__ >= 2] (LIB_STANDARD): Don't define.
  6534.  
  6535. Fri Oct  9 12:49:03 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6536.  
  6537.     * ymakefile (FLOATSUP): Renamed to FLOAT_SUPPORT.
  6538.     (FRAME_SUPPORT, VMS_SUPPORT): New macros.
  6539.     (lisp): Rebuild this from loadup.el, using the _SUPPORT macros.
  6540.  
  6541.     * ymakefile [HAVE_X_WINDOWS, not NO_X_MENU, HAVE_X11] (LIBXMENU):
  6542.     Link against -loldX, to get the association table functions.
  6543.  
  6544.     * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
  6545.     warnings about redefining NULL under GCC 2.2.2.
  6546.  
  6547. Fri Oct  9 01:08:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6548.  
  6549.     * m/pyrmips.h: New file.
  6550.  
  6551.     * s/aix3-1.h (PTY_ITERATION, etc.): Defined.
  6552.     (FIRST_PTY_LETTER): Deleted.
  6553.  
  6554. Wed Oct  7 15:23:31 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6555.  
  6556.     * m/sparc.h: Include <sys/param.h>, to define the FSCALE constant.
  6557.  
  6558.     * ymakefile (YMF_PASS_LDFLAGS): Refer to the prefix-args program
  6559.     using "./prefix-args", not just "prefix-args"; some people don't
  6560.     have . in their paths.
  6561.  
  6562. Tue Oct  6 00:54:20 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6563.  
  6564.     * link.com: Use gcclib if compiling with GCC.
  6565.  
  6566.     * fileio.c (directory_file_name): Don't clobber the envvar
  6567.     when handling top-level rooted dir.
  6568.  
  6569.     * ymakefile (LIB_STANDARD): If ORDINARY_LINK, default this to empty.
  6570.  
  6571.     * m/ibmps2-aix.h [USG_SHARED_LIBRARIES]: Define ORDINARY_LINK.
  6572.     Undef LIB_STANDARD.  Modify LD_SWITCH_MACHINE.
  6573.  
  6574.     * unexnext.c: New file.
  6575.     * emacs.c (main) [NeXT]: Call malloc_jumpstart.
  6576.  
  6577. Mon Oct  5 19:59:01 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6578.  
  6579.     * window.c (window_loop): Pass 2nd arg to Fother_buffer.
  6580.     * frame.c (make_frame): Likewise.
  6581.     * callint.c (Fcall_interactively): Likewise.
  6582.     * buffer.c (Fkill_buffer): Likewise.
  6583.     (Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer): Likewise.
  6584.  
  6585. Sat Oct  3 01:34:07 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6586.  
  6587.     * keyboard.c (read_key_sequence): Treat mouse clicks on non-text
  6588.     areas as if they were prefixed with the symbol denoting the
  6589.     area clicked on - `mode-line', etcetera.
  6590.     When we throw away an unbound `down-' event, reset mock_input as
  6591.     well.
  6592.  
  6593.     * keyboard.c (Qevent_symbol_element_mask, Qmodifier_cache): Two
  6594.     new symbols, used to implement caches on event heads.  These take
  6595.     the place of some of the caching that modify_event_symbol used to do.
  6596.     (parse_modifiers_uncached, apply_modifiers_uncached,
  6597.     lispy_modifier_list, parse_modifiers, apply_modifiers): New
  6598.     functions, which replace format_modifiers and reorder_modifiers;
  6599.     they can be useful elsewhere too.
  6600.     (reorder_modifiers, modify_event_symbol): Re-implement these in
  6601.     terms of parse_modifiers and apply_modifiers.  modify_event_symbol
  6602.     now uses a much simpler cache, and takes advantage of the caches
  6603.     maintained by parse_ and apply_modifiers.
  6604.     (follow_key): Don't modify NEXT if KEY has no bindings.
  6605.     (read_key_sequence): Drop unbound `down-' events, and turn unbound
  6606.     `drag-' events into clicks if that would make them bound.  This
  6607.     benefits from the rewriting of the modifier key handling code.
  6608.     (syms_of_keyboard): Initialize and intern
  6609.     Qevent_symbol_element_mask and Qmodifier_cache.
  6610.  
  6611.     * keyboard.c (echo_prompt): Terminate the echo buffer properly
  6612.     even when the string is too long to display in the minibuffer.
  6613.     (echo_truncate): Just return echoptr - echobuf, rather than
  6614.     calling strlen on echobuf.
  6615.  
  6616.     * alloc.c (Fmemory_limit): New function.
  6617.     (syms_of_alloc): Defsubr it.
  6618.  
  6619.     * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof,
  6620.     instead of just saying it's 7; that way, we won't get screwed if 
  6621.     we add members to struct save_window_data.
  6622.  
  6623.     * window.c (struct save_window_data): Save the currently selected
  6624.     frame, too.
  6625.     (Fset_window_configuration): Restore the frame's selected window
  6626.     using Fselect_window, and then restore the selected frame using
  6627.     Fselect_frame.
  6628.     (Fcurrent_window_configuration): Record the currently selected
  6629.     frame.  Update docstring to describe the information now recorded.
  6630.  
  6631. Fri Oct  2 22:43:49 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6632.  
  6633.     * process.c (wait_reading_process_input): Ultrix select seems to
  6634.     return ENOMEM when interrupted.  So, under Ultrix, treat ENOMEM
  6635.     like EINTR.
  6636.  
  6637.     * keyboard.c (modifier_names): The modifier is named "control",
  6638.     not "ctrl".
  6639.  
  6640.     * keyboard.c (modify_event_symbol): Make sure that the unmodified
  6641.     event header gets the proper properties set on it, by recursing
  6642.     and letting the same code build the properties for all event symbols.
  6643.  
  6644.     * keyboard.c (Qmouse_click): Fix typo which assigned `mouse-click'
  6645.     symbol to Qmouse_movement.
  6646.  
  6647. Fri Oct  2 22:11:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6648.  
  6649.     * undo.c (Fprimitive_undo):
  6650.     When undoing an insert, move point and then delete.
  6651.  
  6652. Fri Oct  2 18:31:07 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6653.  
  6654.     * intervals.c: `copy_intervals' no longer static.
  6655.  
  6656.     * intervals.h: Declare `copy_intervals'.
  6657.  
  6658.     * buffer.c: #include intervals.h.
  6659.  
  6660.     * ymakefile: New macro "INTERVALS", controlled by "USE_INTERVALS",
  6661.     which defines the interval include file "intervals.h".
  6662.     New entries for "intervals.c" and "textprop.c".
  6663.  
  6664.     * lisp.h: Declare Qbuffer_or_string_p.
  6665.  
  6666. Fri Oct  2 18:16:12 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6667.  
  6668.     * xterm.c (x_find_modifier_meanings): If there are no
  6669.     modifiers containing a Meta_ keysym, use the Alt keysyms to
  6670.     denote meta.
  6671.     (construct_mouse_click): Set the down_modifier bit on mouse
  6672.     button press events.
  6673.     (XTread_socket): When processing keypress events, use
  6674.     x_meta_mod_mask when processing ordinary ASCII characters, not
  6675.     just when processing function keys and other non-ASCII events.
  6676.     (XTread_socket): If we receive a MappingNotify event with the
  6677.     `request' member set to `MappingModifier', then call
  6678.     x_find_modifier_meanings to refresh x_meta_mod_mask.
  6679.  
  6680.     * window.c (Fset_window_configuration): Clean up the way we save
  6681.     and restore the frame's size.
  6682.  
  6683.     * termhooks.h (struct input_event): Doc fix.
  6684.     (NUM_MOUSE_BUTTONS): New constant.
  6685.     (click_modifier): New modifier.
  6686.     (NUM_MODIFIER_COMBOS): Removed.
  6687.  
  6688.     * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
  6689.     are not 5 elements long.
  6690.     (EVENT_HEAD): Work correctly on all sorts of events, not just
  6691.     events with parameters.
  6692.     (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON,
  6693.     EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
  6694.     anymore; this information may appear twice in an event.  These
  6695.     are replaced by the POSN_ accessors, which are meant to be
  6696.     composed with the EVENT_START and EVENT_END accessors.
  6697.     (EVENT_START, EVENT_END): Two new accessors, to get at the
  6698.     starting and ending position of an event.
  6699.     (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
  6700.     POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
  6701.     diasassemble the values returned by EVENT_START and EVENT_END.
  6702.     * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first 
  6703.     testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
  6704.     all sorts of events now.
  6705.     (read_key_sequence): Use the new accessors to decide in which window
  6706.     an event occurred.
  6707.     * keymap.c (access_keymap, store_in_keymap,
  6708.     Fsingle_key_description): No need to check for
  6709.     EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now
  6710.     works properly on all sorts of events.
  6711.  
  6712.     * keyboard.c (Qevent_unmodified): Replaced by...
  6713.     (Qevent_symbol_elements): New property.
  6714.     (syms_of_keyboard): initialize and staticpro the latter, not the
  6715.     former.
  6716.     * keyboard.h (Qevent_unmodified): Extern declaration replaced by...
  6717.     (Qevent_symbol_elements): This.
  6718.     (EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements
  6719.     property, rather than the Qevent_unmodified property.
  6720.  
  6721.     * keyboard.c (readable_events): This doesn't need to scan and
  6722.     discard mouse release events anymore; it just uses
  6723.     EVENT_QUEUES_EMPTY.
  6724.     (kbd_buffer_get_event): No need to skip past mouse release events.
  6725.  
  6726.     * keyboard.c (button_down_location): New variable, which
  6727.     stores the location at which each button was pressed, so we
  6728.     can build a complete drag event when the button is released.
  6729.     (make_lispy_event): When a button is pressed, record its
  6730.     location in button_down_location, and turn it into a `down'
  6731.     event.  When a button is released, compare its release
  6732.     location with its press location, and decide whether to call
  6733.     it a `click' or `drag' event.
  6734.     Change mouse movement events to be arranged like click events.
  6735.     (format_modifiers): Note that the click modifier has no
  6736.     written representation.
  6737.     (modifier_names, modifer_symbols): New variables, used to
  6738.     create the Qevent_symbol_elements property.
  6739.     (modify_event_symbol): Change the format of the modified
  6740.     symbol cache; there are too many modifier bits now to use a
  6741.     vector indexed by a modifier mask.  Use an assoc-list instead.
  6742.     Document the format of the cache.
  6743.     Put the Qevent_symbol_elements property on each new symbol,
  6744.     instead of a Qevent_unmodified property.
  6745.     (symbols_of_keyboard): Put Qevent_symbol_elements properties on
  6746.     the symbols specified in head_table, not Qevent_unmodifed properties.
  6747.     Initialize and staticpro modifier_symbols, and staticpro the
  6748.     window elements of button_down_location.
  6749.  
  6750.     * xmenu.c: #include "keyboard.h".
  6751.     (Fx_popup_menu): Use the event accessors defined in keyboard.h,
  6752.     instead of writing out cars and cdrs.
  6753.     * ymakefile: Note that xmenu.o depends on keyboard.h.
  6754.  
  6755. Fri Oct  2 14:55:28 1992  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  6756.  
  6757.     * textprop.c: Conditionalize all functions on
  6758.     "USE_TEXT_PROPERTIES".
  6759.     * intervals.c: Conditionalize all functions on
  6760.     "USE_TEXT_PROPERTIES".
  6761.     Removed #include of "screen.h".
  6762.  
  6763.     * alloc.c: #include "intervals.h".
  6764.     (init_intervals, make_interval,
  6765.     mark_interval, mark_interval_tree): New functions conditionally
  6766.     defined.
  6767.     (make_uninit_string): Call INITIALIZE_INTERVAL.
  6768.     (INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE):
  6769.     New macros, conditionally defined.
  6770.     (mark_object): Call MARK_INTERVAL_TREE in case Lisp_String.
  6771.     (gc_sweep): If text properties are in use, place all unmarked
  6772.     intervals on the free list.  Call UNMARK_BALANCE_INTERVALS on
  6773.     `buffer->intervals' when unmarking `buffer'.
  6774.     (compact_strings): Include INTERVAL_PTR_SIZE in calculation for
  6775.     target of bcopy when relocating strings.
  6776.     (init_alloc_once): Call INIT_INTERVALS.
  6777.     (make_pure_string): Include INTERVAL_PTR_SIZE in calculation of
  6778.     `size'.
  6779.     Moved static declaration of `mark_object' and other functions up
  6780.     in the file.
  6781.  
  6782.     * fileio.c (Finsert_file_contents): Call offset_intervals if
  6783.     text was actually inserted.
  6784.     #include "intervals.h".
  6785.  
  6786. Wed Sep 30 18:29:00 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6787.  
  6788.     * data.c: Qbuffer_or_string_p added.
  6789.  
  6790.     * syntax.c (describe_syntax): Use insert_char to insert `match'.
  6791.  
  6792.     * buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
  6793.     interval component.
  6794.     (Fkill_buffer): Likewise.
  6795.  
  6796.     * editfns.c (make_buffer_string): Call copy_intervals_to_string.
  6797.     (Finsert_buffer_substring): Call graft_intervals_into_buffer.
  6798.     #include "intervals.h".
  6799.  
  6800.     * insdel.c: #include "intervals.h"
  6801.     (prepare_to_modify_buffer): Call verify_interval_modification.
  6802.     (insert_from_string): Call offset_intervals and
  6803.     graft_intervals_into_buffer.
  6804.     (del_range): Call offset_intervals.
  6805.     (insert): Call offset_intervals.
  6806.  
  6807.     * emacs.c: #include "intervals.h".
  6808.     (main): Call syms_of_textprop.  This is only really present if
  6809.     Emacs is compiled with USE_TEXT_PROPERTIES defined.
  6810.  
  6811.     * buffer.h: New macro TEMP_SET_PT.  If intervals are used, SET_PT
  6812.     and TEMP_SET_PT are function calls.
  6813.     Similarly for BUF_SET_PT and BUF_TEMP_SET_PT.
  6814.     Added DECLARE_INTERVALS to buffer structure to conditionally
  6815.     compile an interval tree into it.
  6816.  
  6817.     * intervals.h: Declare temp_set_point.
  6818.  
  6819. Wed Sep 30 17:08:53 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6820.  
  6821.     * ymakefile (config.h): Doc fix.
  6822.  
  6823. Wed Sep 30 16:35:23 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6824.  
  6825.     * config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
  6826.     controlling compilation of interval code.
  6827.     If using GNUC, support inline functions.
  6828.  
  6829.     * lisp.h: Conditionally define interval structure and macros.
  6830.     Add DECLARE_INTERVALS to struct Lisp_String.
  6831.  
  6832. Wed Sep 30 06:59:07 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6833.  
  6834.     * buffer.c (Fother_buffer): Add back the VISIBLE_OK argument.  It
  6835.     got removed with no comment or ChangeLog entry, and
  6836.     append-to-buffer uses it.
  6837.  
  6838.         * window.c (struct save_window_data): Add a member called
  6839.     focus_frame, to save and restore the screen's focus frame.
  6840.     (Fset_window_configuration): Redirect the frame's focus as
  6841.     indicated in the window configuration.
  6842.     (Fcurrent_window_configuration): Record the frame's current focus.
  6843.     * minibuf.c (read_minibuf): Don't bother to save the current
  6844.     frame's focus, and have read_minibuf_unwind restore it; saving and
  6845.     restoring the window configurations will take care of that.
  6846.     (read_minibuf_unwind): Don't worry about restoring the frame's focus.
  6847.  
  6848.     * window.c (Fset_window_configuration): Don't select the frame
  6849.     just because we restored its configuration.
  6850.  
  6851.     * window.c (Fset_window_configuration): Don't forget to set the
  6852.     frame's selected window when we can't call Fselect_window.
  6853.  
  6854.     * xterm.c (x_meta_mod_mask): New variable, indicating which X
  6855.     modifier bits denote meta keys.
  6856.     (x_find_modifier_meanings): New function, to set x_meta_mod_mask.
  6857.     (x_convert_modifiers): Use that.
  6858.     (x_term_init): Call x_find_modifier_meanings.
  6859.  
  6860.     * data.c (Fmake_local_variable): If SYM forwards to a C variable,
  6861.     swap in the value for the current buffer immediately.
  6862.  
  6863.     * lisp.h: Doc elaboration for Lisp_Buffer_Local_Value.
  6864.  
  6865. Tue Sep 29 21:05:30 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6866.  
  6867.     * textprop.c (Ferase_text_properties): Merge intervals when
  6868.     possible.
  6869.  
  6870. Tue Sep 29 00:04:05 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6871.  
  6872.     * xselect.c (Qcut_buffer0): Symbol removed; we're using a new
  6873.     interface to the cut buffer now.
  6874.     (NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value,
  6875.     cut_buffer_cached, cut_buffer_just_set): New variables.
  6876.     (Fx_own_selection, Fx_selection_value): Dike out the code to
  6877.     handle CUT_BUFFER0 requests.
  6878.     (Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache,
  6879.     x_invalidate_cut_buffer_cache): New functions.
  6880.     (syms_of_xselect): Don't bother to initialize Qcut_buffer0.
  6881.     Initialize and staticpro cut_buffer_value, and defsubr
  6882.     Sx_get_cut_buffer and Sx_set_cut_buffer.
  6883.     * xterm.c (XTread_socket): Pass PropertyNotify events from the
  6884.     root window to x_invalidate_cut_buffer_cache.
  6885.     (x_term_init): Call x_watch_cut_buffer_cache here.
  6886.  
  6887.     * keymap.c (access_keymap): Don't forget to QUIT while scanning
  6888.     the keymap.
  6889.  
  6890.     * keyboard.c (recent_keys): This needs to be staticpro'ed.  Change
  6891.     it from a C array, which is a pain in the neck to staticpro, into
  6892.     a lisp vector, which is easier.
  6893.     (read_char, Frecent_keys): Access recent_keys as a lisp vector,
  6894.     not a C array.
  6895.     (syms_of_keyboard): Set recent_keys to be a vector, and staticpro it.
  6896.  
  6897.     * ymakefile (xfns.o): This doesn't depend on xselect.c.
  6898.  
  6899.     * xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
  6900.     XDefaultScreen function.
  6901.  
  6902.     * frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
  6903.     number of arguments.
  6904.  
  6905.     * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
  6906.     HP/UX, not just under USG systems.
  6907.  
  6908.     * buffer.c (Fbury_buffer): This used to undisplay the buffer being
  6909.     buried only if the BUFFER argument was nil.  Instead, undisplay the
  6910.     buffer whenever it's displayed in the selected window, no matter
  6911.     how it was specified by BUFFER.  This is how it behaves in 18.58,
  6912.     and I can't find any ChangeLog entry in 18.58 or 19.0 saying why
  6913.     they differ.  Fix the doc string accordingly.
  6914.  
  6915. Mon Sep 28 20:59:27 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6916.  
  6917.     * frame.c (Fselect_frame, Fframe_root_window,
  6918.     Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
  6919.     Fmake_frame_invisible, Ficonify_frame): Doc fixes.
  6920.  
  6921.     * ralloc.c: Since the users of the relocating allocation code
  6922.     handle memory exhaustion, it's better to return an error code to
  6923.     them than to call abort. 
  6924.     (obtain): If we cannot allocate more memory, don't call
  6925.     abort.  Instead, return non-zero iff the allocation is successful.
  6926.     (get_more_space): If obtain fails, return zero.
  6927.     (get_bloc): Return zero if we can't allocate the new bloc.
  6928.     (r_alloc_sbrk): Return zero if we can't allocate more memory.
  6929.     (r_alloc): If we can't allocate more memory, set *PTR to zero and
  6930.     return zero.
  6931.     (r_re_alloc): If we can't allocate more memory, leave *PTR
  6932.     unchanged, and return zero.
  6933.  
  6934.     * ralloc.c (warnfunction): Renamed to warn_function; users changed.
  6935.  
  6936. Mon Sep 28 03:20:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6937.  
  6938.     * insdel.c (del_range): Call record_delete before updating point.
  6939.  
  6940.     * fileio.c (Finsert_file_contents): Do record_insert, then inc MODIFF.
  6941.  
  6942.     * undo.c (record_delete): Record pos before the deletion.
  6943.     (Fprimitive_undo): Go back to recorded position.
  6944.  
  6945. Mon Sep 28 01:08:59 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6946.  
  6947.     * window.c (delete_all_subwindows): Save the window's buffer in
  6948.     its `height' field; we may need to know the window's old buffer
  6949.     once we have restored it from a window configuration.
  6950.     (Fset_window_configuration): When we restore a window, if its
  6951.     `height' field is a buffer, restore its `buffer' field from that.
  6952.     This allows us to leave the window's buffer unchanged if the
  6953.     buffer recorded in the configuration is dead.
  6954.  
  6955.     * window.c (delete_all_subwindows): Removed unused variable named
  6956.     "count".
  6957.  
  6958. Sun Sep 27 22:18:37 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6959.  
  6960.     * keyboard.c (read_char): If we're returning an event from a
  6961.     macro, set Vlast_event_frame to Qmacro, instead of leaving it set
  6962.     to the frame of the previous real event.
  6963.     (read_key_sequence): If Vlast_event_frame isn't a frame, don't
  6964.     bother switching buffers.
  6965.     (syms_of_keyboard): Doc fix for Vlast_event_frame.
  6966.     (Vlast_event_frame): Doc fix.
  6967.  
  6968.     * termhooks.h (alt_modifier, hyper_modifier, super_modifier,
  6969.     down_modifier, drag_modifier): New modifiers, to support the new
  6970.     input system.  Re-arranged modifiers so that their bits are in
  6971.     canonical order; this makes reorder_modifiers slightly simpler.
  6972.     * keyboard.c (format_modifiers, reorder_modifiers): Handle the new
  6973.     modifier bits.
  6974.  
  6975.     * keymap.c (access_keymap): Remove code to notice bindings for
  6976.     Qt.
  6977.  
  6978. Fri Sep 25 19:22:52 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6979.  
  6980.     * xmenu.c (single_keymap_panes): Handle vectors properly.
  6981.  
  6982. Fri Sep 25 10:58:40 1992  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  6983.  
  6984.     * keymap.c (Fwhere_is_internal): Don't forget to advance map to
  6985.     the next element when we find something that is neither a vector
  6986.     nor a cons.  Don't forget to QUIT in the appropriate places,
  6987.     either.
  6988.  
  6989. Wed Sep 23 21:04:49 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)
  6990.  
  6991.     * textprop.c (Fset_text_properties): Merge adjacent intervals with
  6992.     the same properties.
  6993.     (Fnext_single_property_change, Fprevious_single_property_change):
  6994.     New subrs.
  6995.  
  6996.     * intervals.c (merge_interval_left, merge_interval_right): Abort
  6997.     if caller tries to merge first (or last, respectively) interval.
  6998.     Delete the interval node after merging.
  6999.     (copy_intervals): Use `split_interval_right' rather than creating
  7000.     new intervals with make_new_interval and attaching them
  7001.     explicitly.
  7002.     (verify_interval_modification): Changed error message.  GCPRO
  7003.     hooks before calling Fnreverse, and correctly Fcdr down the list.
  7004.     Also, don't cons multiple copies of the same consecutive
  7005.     modification hook.
  7006.     (temp_set_point): New function.
  7007.     (set_point): Call point-left and point-entered hooks if moving
  7008.     between text with different properties.  Use the old and new
  7009.     positions as arguments to these calls.
  7010.  
  7011.     * intervals.c, intervals.h: (map_intervals, make_buffer_interval,
  7012.      make_string_interval,run_hooks): Deleted.
  7013.  
  7014. Wed Sep 23 06:38:52 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  7015.  
  7016.     * keymap.c (DENSE_TABLE_SIZE): Doc fix.
  7017.     (keymap_table): Function removed; this function exists only to
  7018.     support an incorrect understanding of the format of keymaps.
  7019.     (access_keymap, store_in_keymap, Fcopy_keymap,
  7020.     Faccessible_keymaps): Correctly handle vectors at any point in the
  7021.     keymap; don't assume it must be at the front.
  7022.     (describe_map): Instead of calling describe_vector on the vector
  7023.     in the cadr of the keymap (if present) and then calling
  7024.     describe_alist to do the rest, just call describe_map_2.
  7025.     (describe_alist): Renamed to describe_map_2; call describe_vector
  7026.     when we encounter a vector in the list.
  7027.     * xmenu.c (single_keymap_panes): Comment out the code which
  7028.     tries to handle a dense keymap's table; it uses keymap_table, and
  7029.     the rest of the code never uses the table contents anyway.
  7030.  
  7031.     * keymap.c (access_keymap, store_in_keymap): Clarify error message
  7032.     for non-ASCII characters.
  7033.  
  7034.     * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX]
  7035.     (create_process): #if 0 out the code which sets the child's
  7036.     handler for SIGCHLD to sigchld; the code which gives sigchld its
  7037.     value has been diked out under these CPP symbols, so this should
  7038.     be diked out too.
  7039.  
  7040.     * indent.c (Fmove_to_column): Pass the right number of arguments
  7041.     to Findent_to.
  7042.  
  7043. Tue Sep 22 01:56:01 1992  Jim Blandy  (jimb@kropotkin.gnu.ai.mit.edu)
  7044.  
  7045.     * emacs.c (emacs_priority): Doc fix.
  7046.     (main): Use nice, not setpriority; we just need a
  7047.     simple, portable call to nice here.
  7048.     * callproc.c (child_setup): Use nice, not setpriority.
  7049.     * sysdep.c (sys_suspend): Don't try to use "nice (- nice (0))" to
  7050.     set the subshell's priority to normal; nice doesn't return a
  7051.     defined value on all systems.  Instead, since emacs_priority gives
  7052.     the priority that Emacs was nastied to, we can use it to reset the
  7053.     priority in a straightforward way.
  7054.     [BSD4_1], [USG], [VMS] (setpriority): Remove dummy and
  7055.     compatibility definitions of setpriority.
  7056.  
  7057.     * keymap.c (access_keymap): Return the binding of Qt as the
  7058.     binding for all unbound characters.
  7059.  
  7060.     * fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync
  7061.     unless it's actually been defined - that is, if unix is #defined.
  7062.  
  7063.     * xrdb.c (x_get_resource): Cast the value being assigned to
  7064.     ret_value->addr, rather than ret_value->addr itself; only GCC
  7065.     allows you to cast lvalues.
  7066.  
  7067.     * eval.c (unbind_catch): Do the long-jump here.  Take a VALUE
  7068.     argument, which specifies the value to return to the catch, or the
  7069.     data to give to the condition handler.  Renamed to
  7070.     unwind_to_catch, to reflect new role.
  7071.     (Fsignal, Fthrow): Removed code to set catch tag value and do the
  7072.     long-jump; this is taken care of by unwind_to_catch.
  7073.  
  7074. Mon Sep 21 02:36:50 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7075.  
  7076.     * alloc.c (mark_object): Avoid car recursion on cons with nil in cdr.
  7077.     Avoid recursion on constants-vector of a compiled function.
  7078.  
  7079.     * oldXMenu: Symlink deleted; anything that uses it needs fixing
  7080.     in any case to work properly on systems without symlinks.
  7081.  
  7082. Sun Sep 20 16:05:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7083.  
  7084.     * s/sol2.h: New file.
  7085.  
  7086.     * fileio.c: Don't include sys/dir.h.
  7087.  
  7088.     * s/usg5-4.h (LIBS_SYSTEM): Move non-default libraries here.
  7089.     (LIB_STANDARD, START_FILES): Deleted.
  7090.     (ORDINARY_LINK): Defined.
  7091.  
  7092.     * ymakefile [ORDINARY_LINK]: Default LD to $(CC)
  7093.     and make START_FILES and LIB_STANDARD empty.
  7094.     (C_SWITCH_X_MACHINE, C_SWITCH_X_SYSTEM): New macros, default empty.
  7095.     (CFLAGS): Use them.
  7096.  
  7097. Sat Sep 19 03:05:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7098.  
  7099.     * ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE.
  7100.  
  7101.     * dired.c [VMS]: Include string.h, rms.h, rmsdef.h.
  7102.     [VMS] (Ffile_version_limit): New function.
  7103.  
  7104.     * sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent. 
  7105.  
  7106.     * syntax.c (scan_lists): When searching back for comment:
  7107.     if comment-end is 2 chars, assume it does end a comment.
  7108.     Otherwise, scan back to previous comment-end to see if there's
  7109.     a comment starter between.  Also record whether the string quotes
  7110.     between the start and the end are paired and uniform.
  7111.     If so, skip to comment starter.  If not, scan from start of
  7112.     defun to find comment starter if any.
  7113.     (find_defun_start): New function.
  7114.  
  7115.     * alloc.c (mark_object): Save last 500 values of objptr.
  7116.     Check for clobberage of ptr, when marking a vector.
  7117.  
  7118. Fri Sep 18 03:28:55 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7119.  
  7120.     * keymap.c (get_keyelt): Skip menu help string after menu item name.
  7121.  
  7122. Fri Sep 18 00:50:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7123.  
  7124.     * buffer.c (Fget_buffer_create): Doc fix.
  7125.  
  7126.     * lisp.h (struct handler): Remove the poll_suppress_count member
  7127.     of this structure; it is always equal to the poll_suppress_count
  7128.     of its catchtag structure.  The non-local exit code in eval.c is
  7129.     difficult enough to understand as it is; needless duplication
  7130.     doesn't help.
  7131.     * eval.c (Fcondition_case): Rearranged for clarity.  Don't worry
  7132.     about setting h.poll_suppress_count; it's guaranteed to be the
  7133.     same as c.poll_suppress_count.
  7134.     (internal_condition_case): Don't worry about
  7135.     h.poll_suppress_count.
  7136.     (Fsignal): Use h->tag->poll_suppress_count instead of
  7137.     h->poll_suppress_count.
  7138.  
  7139.     * eval.c (Fsignal): It's okay for the debugger to return to the
  7140.     caller if the caller was signalling a quit.
  7141.  
  7142.     * eval.c (unbind_catch): Restore the polling suppression count
  7143.     here, instead of in Fsignal and Fthrow.
  7144.     (Fthrow, Fsignal): Don't restore the polling suppression count here.
  7145.     
  7146.     * lisp.h (struct specbinding, struct handler): More documentation.
  7147.     * eval.c (struct catchtag): More documentation.
  7148.  
  7149. Thu Sep 17 18:49:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7150.  
  7151.     * ymakefile (LIBX): Don't use -loldX.
  7152.  
  7153. Thu Sep 17 15:51:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7154.  
  7155.     * minibuf.c (get_minibuffer): Enable undo in minibuffers.
  7156.  
  7157. Mon Sep 14 17:35:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7158.  
  7159.     * ymakefile (LIBXMENU): Check NO_X_MENU, not HAVE_X_MENU
  7160.     * emacs.c (main): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU.
  7161.     * keyboard.c (read_char_menu_prompt): Likewise.
  7162.  
  7163.     * config.h.in: Delete everything about config.h.
  7164.  
  7165.     * emacs.c: Eliminate HIGHPRI as compilation option.
  7166.     (emacs_priority): New C variable, also Lisp variable.
  7167.     (main): Set the priority iff emacs_priority is nonzero.
  7168.  
  7169. Mon Sep 14 15:38:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7170.  
  7171.     * eval.c (entering_debugger): Variable renamed
  7172.     when_entered_debugger, and is now a timestamp based on
  7173.     num_nonmacro_input_chars.
  7174.     (init_eval): Initialize when_entered_debugger, not
  7175.     entering_debugger.
  7176.     (call_debugger): Set when_entered_debugger to the current value of
  7177.     num_nonmacro_input_chars.
  7178.     (find_handler_clause): Don't call debugger unless
  7179.     num_nonmacro_input_chars is greater than when_entered_debugger;
  7180.     that way, we won't call the debugger unless the user has had a
  7181.     chance to take control.
  7182.     (Fbacktrace): Don't clear entering_debugger here.
  7183.     * keyboard.h (num_nonmacro_input_chars): Added extern declaration
  7184.     for this.
  7185.  
  7186.     * fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag.
  7187.     Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and
  7188.     the user presses C-g, this function goes into an infinite loop.
  7189.  
  7190.     * dispnew.c (get_display_line): Don't abort if the frame is
  7191.     invisible; since unmap events are handled at the interrupt level,
  7192.     a screen may become invisible at any time.
  7193.  
  7194. Sun Sep 13 18:23:40 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7195.  
  7196.     * fileio.c (Fverify_visited_file_modtime):
  7197.     Pass buffer itself to handler, if have handler.
  7198.     (Fwrite_region): GCPRO around Fexpand_file_name, Ffile_name_directory.
  7199.     (Fread_file_name_internal): GCPRO around file name manip.
  7200.     (Ffile_writable_p, Ffile_readable_p): Use abspath, not filename,
  7201.     (Ffile_executable_p, Ffile_exists_p): to run the handler.
  7202.     (Fset_file_modes, Ffile_directory_p, Ffile_modes): Likewise.
  7203.     (Ffile_newer_than_file_p): GCPRO around expand_and_dir_to_file.
  7204.  
  7205. Sun Sep 13 08:30:46 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7206.  
  7207.     * s/bsd4-3.h: Give the BSD4_3 and BSD symbols the same numeric
  7208.     definitions they'll get in <sys/param.h>, to avoid warnings.
  7209.  
  7210.     * m/hp9000s300.h: Don't include <sys/wait.h>.  This really
  7211.     shouldn't be necessary.
  7212.     (BIG_ENDIAN): Define this as "4321", to agree with
  7213.     <machines/endian.h>, and avoid warnings.
  7214.  
  7215.     * systime.h: Re-arrange inclusion of <sys/time.h> and <time.h> so
  7216.     that they don't both get included under BSD, and do both get
  7217.     included under AIX.
  7218.  
  7219.     * xdisp.c (display_mode_line): If the only other frames are
  7220.     minibuffer frames, don't name the frame after the in the selected
  7221.     window.  We can use Fnext_frame to do this test easily.
  7222.  
  7223. Sat Sep 12 03:55:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7224.  
  7225.     * process.c (Faccept_process_output): Initialize useconds.
  7226.  
  7227.     * keyboard.c (num_nonmacro_input_chars): New variable.
  7228.     (read_char): Use num_nonmacro_input_chars to decide on auto-save & gc.
  7229.     Increment it when appropriate.
  7230.     (record_auto_save): Use num_nonmacro_input_chars.
  7231.  
  7232.     * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): 
  7233.     (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): 
  7234.     Call find_file_handler.
  7235.     (syms_of_fileio): Set up Qfile_name_directory, etc.
  7236.     (Fcopy_file): Call find_file_handler for newname as well as for filename.
  7237.     (syms_of_fileio): Initialize Vfile_name_handler_alist.
  7238.  
  7239. Fri Sep 11 14:03:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7240.  
  7241.     * callint.c (Fcall_interactively): Remove the 'K' interactive
  7242.     code, in favor of 'e'; that's a better name.
  7243.  
  7244. Fri Sep 11 00:28:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7245.  
  7246.         * s/esix5r4.h: New file.
  7247.  
  7248.         * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP.
  7249.         Use CDISABLE, not CDEL.
  7250.         Turn off IEXTEN if it exists.
  7251.         * systty.h (CDISABLE): New macro; may be defined from CDEL.
  7252.  
  7253.     * keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for.
  7254.  
  7255. Thu Sep 10 16:19:45 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7256.  
  7257.     * Makefile.in: Add comments starting with "# DIST: " explaining
  7258.     that this gets munged by the configure script.
  7259.  
  7260. Thu Sep 10 03:48:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7261.  
  7262.     * s-aix3-1.h (HAVE_GETHOSTNAME): Defined.
  7263.  
  7264. Wed Sep  9 20:34:43 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7265.  
  7266.     * frame.c (choose_minibuf_frame): abort if the selected frame has
  7267.     nil in its minibuffer_window slot; this shouldn't happen any more.
  7268.     * window.c (minibuffer_window): Accept an optional FRAME argument;
  7269.     if specified, return the minibuffer used by that frame.
  7270.  
  7271.     * keymap.c (describe_buffer_bindings): Adjust key_heading to match
  7272.     the format used by describe_map_tree.  Also, don't reprint the
  7273.     "key    binding" header above the global bindings if we've already
  7274.     printed it for the local bindings; it's clear enough that the
  7275.     columns mean the same thing as above.
  7276.  
  7277. Tue Sep  8 13:25:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7278.  
  7279.         * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the
  7280.     end of the heap, copying the data to it, and then freeing the
  7281.     original bloc, just expand the original block.  This saves a copy
  7282.     and a call to sbrk, and also removes the large spike in memory
  7283.     allocation that would occur when resizing large buffers.  And it's
  7284.     less code.
  7285.  
  7286.     * keyboard.h (Vkeyboard_translate_table): Declare this extern
  7287.     here, so describe_buffer_bindings can use it.
  7288.     * keymap.c (describe_buffer_bindings): Declare buf and bufend...
  7289.  
  7290. Sat Sep  5 03:47:34 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7291.  
  7292.     * systime.h: Always #include <time.h>, not just when NEED_TIME_H
  7293.     is defined.  It gets us struct tm.  #include <sys/time.h> whenever
  7294.     HAVE_TIMEVAL is defined and NEED_TIME_H isn't.
  7295.  
  7296.     * systime.h: Note that the tz_dsttime field of the struct timezone
  7297.     returned by gettimeofday doesn't say whether daylight savings is
  7298.     _currently- active; rather it specifies whether it is *ever*
  7299.     active.
  7300.     (EMACS_GET_TZ_OFFSET_AND_SAVINGS): Removed `savings_flag'
  7301.     argument, and renamed to EMACS_GET_TZ_OFFSET.  Don't try to
  7302.     extract savings information.  EMACS_CURRENT_TIME_ZONE should call
  7303.     localtime to figure out whether DST is active.
  7304.  
  7305.     * m/hp9000s300.h: #include <sys/wait.h> before doing anything
  7306.     else, to avoid conflicts between the system's and Emacs's
  7307.     definitions of BIG_ENDIAN.
  7308.  
  7309.     * keymap.c (describe_buffer_bindings): Set the current buffer to
  7310.     descbuf before calling current_minor_maps; that function's value
  7311.     depends on the values of buffer-local variables.  Don't set the
  7312.     current buffer to Vstandard_output until afterwards.
  7313.  
  7314.     * keymap.c (describe_buffer_bindings): If
  7315.     Vkeyboard_translate_table is in effect, describe its effects.
  7316.  
  7317.     * frame.c (Fnext_frame): Doc fix.
  7318.  
  7319.     * frame.c (prev_frame): #if 0'd out; nobody uses this.
  7320.  
  7321.     * frame.c (next_frame): The logic which determines whether a frame
  7322.     is acceptable to return was misarranged; rewrote it.
  7323.     (prev_frame): Same thing.
  7324.  
  7325. Sat Sep  5 01:17:59 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7326.  
  7327.     * syntax.c (scan_lists): Improve smarts for backwards scan of comments.
  7328.     Don't modify comstyle inside that loop.
  7329.     If string quotes don't match up, don't take value from OFROM;
  7330.     instead, parse forward using scan_sexps_forward.
  7331.     (scan_sexps_forward): Return value via a pointer passed in.
  7332.     New element in state contains char addr of last comment-starter seen.
  7333.     (Fparse_partial_sexp): Change call to scan_sexps_forward.
  7334.  
  7335. Fri Sep  4 17:47:12 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7336.  
  7337.     * xmenu.c (xmenu_show): If no panes, just return.
  7338.  
  7339.     * keyboard.c (last_nonmenu_event): New var.
  7340.     (syms_of_keyboard): New Lisp var.
  7341.     (read_key_sequence): Use that instead of prev_event.
  7342.     * commands.h (last_nonmenu_event): Declared.
  7343.     * callint.c (Fcall_interactively): For `K', use last_nonmenu_event.
  7344.     Make `e' alias for `K'.
  7345.  
  7346. Thu Sep  3 00:40:08 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7347.  
  7348.         * editfns.c (Fcurrent_time_string): Change docstring to
  7349.         indicate that we will probably add the timezone to the end,
  7350.         now that we have it available on many systems.
  7351.  
  7352.     * xrdb.c: Don't include <X11/Xos.h>.  Under R4, it stupidly
  7353.     insists on defining SIGCHLD, even if it already has a definition.
  7354.     (file_p): Use the constant 4 instead of R_OK; empirically, the
  7355.     number is more portable than the symbol if you count the #include
  7356.     hair you have to go through to get R_OK defined.  Ffile_readable_p
  7357.     does this too.
  7358.  
  7359.     * xterm.c (x_wm_set_size_hint): Set the base_width and base_height
  7360.     members of size_hints, if they're available (X11R4 and after);
  7361.     otherwise, approximate the right thing, by using min_width and
  7362.     min_height as the base size.
  7363.  
  7364. Wed Sep  2 19:46:56 1992  Barry A. Warsaw   (warsaw@anthem.nlm.nih.gov)
  7365.  
  7366.     * Extended syntax.c in the following ways to support up to 2
  7367.     orthogonal comment styles per mode.  This is needed for C++.
  7368.     Bit 6 of syntax table entry for a character indicates
  7369.     it is part of the `b' comment style.  Otherwise it is
  7370.     part of the `a' style.
  7371.     * syntax.h (SYNTAX_COMMENT_STYLE): New macro.
  7372.     * syntax.c (Fmodify_syntax_entry): Set that flag for `b'.
  7373.     (describe_syntax): Print the `b' flag.
  7374.     (scan_lists, scan_sexps_forward): Handle the new flag.
  7375.     (Fparse_partial_sexp): Return new element in value.
  7376.  
  7377. Wed Sep  2 17:41:31 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7378.  
  7379.     * fileio.c (syms_of_fileio): Doc fix for Vfile_name_handler_alist.
  7380.  
  7381. Wed Sep  2 00:46:36 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7382.  
  7383.     * keyboard.c (kbd_buffer_get_event): When performing the
  7384.     FRAME_FOCUS_FRAME redirection, don't modify the frame field of
  7385.     the event; that fatally corrupts mouse click events.  Instead,
  7386.     just perform the redirection on the value assigned to
  7387.     Vlast_event_frame.
  7388.  
  7389.     * callint.c (Fcall_interactively): Don't try to get the
  7390.     `enable-recursive-minibuffers' property from FUNCTION unless
  7391.     FUNCTION is actually a symbol; there are some cases where a key
  7392.     sequence is bound directly to a lambda form, and there's no reason
  7393.     to break these.
  7394.  
  7395.     * window.c (Fset_window_configuration): Don't signal an error
  7396.     if the frame size saved in the window configuration doesn't
  7397.     match the frame's current size; instead, temporarily resize
  7398.     the frame while installing the window configuration.  This is
  7399.     important because using the minibuffer saves and restores the
  7400.     current window configuration, and you don't want to signal an
  7401.     error just because the user resized the frame while using the
  7402.     minibuffer.
  7403.  
  7404.     * doc.c (Fsnarf_documentation): Signal an error if this is
  7405.     called in a dumped Emacs.
  7406.  
  7407.     * alloc.c (mark_object): mark a symbol's name after marking its
  7408.     value, function, and property list rather than before; this way,
  7409.     symbols' names are readable, giving us a chance to detect some
  7410.     kinds of heap corruption.
  7411.  
  7412. Wed Sep  2 00:04:50 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7413.  
  7414.     * emacs.c (__main, __do_global_dtors): New dummy functions.
  7415.     (__do_global_ctors_aux, __do_global_ctors): Fix typo in fn names.
  7416.  
  7417. Tue Sep  1 12:07:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7418.  
  7419.     * prefix-args.c: New file.  See comment at top of file.
  7420.     * ymakefile (YMF_PASS_LDFLAGS): Use the prefix-args program to
  7421.     affix the -Xlinker prefix to the linker arguments.
  7422.     (prefix-args): New target.
  7423.     (temacs): Depend on prefix-args.
  7424.  
  7425.     * xterm.c (x_catch_errors): Don't forget to initialize
  7426.     x_caught_error_message to the null string, so x_check_errors can
  7427.     tell when an error has occurred.
  7428.  
  7429.     * unexmips.c (mark_x): Declare this as static void at the top of
  7430.     the file and at the function definition.
  7431.  
  7432.     * keyboard.c (input_available_signal): Declare this to return
  7433.     SIGTYPE.
  7434.  
  7435.     * xrdb.c (getuid): Declare this to return short.
  7436.  
  7437.     * s/bsd4-3.h: Remove definition of SIGTYPE macro; Mt. Xinu says
  7438.     it's int, but Ultrix says it's void.  Since the SIGTYPE guessing
  7439.     code in the `configure' script gives the correct answer for both
  7440.     of these cases, there's no point in listing it here.
  7441.  
  7442.     * systime.h (EMACS_CURRENT_TIMEZONE): Change documentation to
  7443.     indicate that *OFFSET should be set to the number of minutes EAST
  7444.     of Greenwich, which is what Ed Reingold says real time gurus want.
  7445.     Changed the definition of the EMACS_GET_TZ_OFFSET_AND_SAVINGS
  7446.     macro to reflect this.  Buggily, the Fcurrent_time_zone function
  7447.     was already expecting minutes east of GMT.
  7448.  
  7449.     * Makefile.in (distclean): Remove backups from the `m' and `s'
  7450.     directories, too.
  7451.  
  7452.     * m/mips.h: Merge changes from Emacs 18.58:
  7453.     [NEWSOS5]: Changes so this file can be used with s/newsos5.h.
  7454.     (SIGN_EXTEND_CHAR): Define this using a cast to signed char.  I
  7455.     guess the MIPS compiler and its derivatives all have this type.
  7456.     (HAVE_ALLOCA, C_ALLOCA): Define the former if we're compiling with
  7457.     GCC, and the latter otherwise.
  7458.     (C_SWITCH_MACHINE): Defined, instead of C_SWITCH_SYSTEM.
  7459.     (LINKER): Defined, if BSD.
  7460.     (XUINT, XSET, XUNMARK): Add parentheses to eliminate warnings from
  7461.     GCC.  Reindent to fit in 80 columns.
  7462.     INHIBIT_BSD_TIME prevents including bsd/sys/time.h.
  7463.     * s/newsos5.h: New file for Sony NEWS-OS release 5, courtesy of
  7464.     Chris Hanson <cph@klia.ai.mit.edu>.
  7465.  
  7466.     * m/mips.h: Don't undefine LOAD_AVE_TYPE; the comment says that
  7467.     Emacs 19 has the crocks to handle it properly.
  7468.  
  7469.     * m/pmax.h: Merge changes from Emacs 18.58:
  7470.     (LIB_STANDARD, COFF, TERMINFO): Cancel out definitions from
  7471.     m/mips.h which are only appropriate for USG.
  7472.     (MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these.
  7473.     (BROKEN_O_NONBLOCK): Defined.
  7474.     (LINKER): Don't define this.
  7475.     [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA.
  7476.     
  7477.     * s/osf1.h: New file.
  7478.  
  7479.     * s/bsd4-3.h: Merge changes from Emacs 18.58:
  7480.     (BSD, BSD4_3): Just define these, don't fret about numerical
  7481.     values or version numbers.
  7482.  
  7483.     * m/hp9000s300.h: Merge changes from Emacs 18.58, and hp300bsd.h:
  7484.     Change configuration note to say it's okay to use this file for BSD.
  7485.     Add comment saying that NOMULTIPLEJOBS must be defined for
  7486.     versions of HP/UX before 6.5.
  7487.     Don't define BIG_ENDIAN if it seems that <endian.h> has already
  7488.     done so.
  7489.         [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these
  7490.     to decide what sort of startup code to use.
  7491.     [not BSD4_3] Under HP/UX, always define the BSD memory functions
  7492.     (bcopy, bzero, and bcmp) in terms of the SYSV string functions
  7493.     (memcpy, memset, and memcmp), not just under HP/UX 5; version 6's
  7494.     BSD compatibility library has reported bugs in `signal'.
  7495.     (NEED_BSDTTY): Move this symbol's definition inside the "not
  7496.     BSD4_3" conditional, since it's only relevant to HP/UX.
  7497.     * m/hp300bsd.h: File deleted, since m/hp9000s300.h now
  7498.     works with both HP/UX and BSD; it includes m/hp300bsd.h's
  7499.     specifications.
  7500.  
  7501.     * m/hp9000s300.h: Remove definition for SIGN_EXTEND_CHAR; this is
  7502.     only used by the regexp code, which has its own portable
  7503.     definition these days.
  7504.  
  7505. Mon Aug 31 01:39:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7506.  
  7507.     * keymap.c (Fmake_sparse_keymap): New optional arg.  Callers changed.
  7508.     (Fmake_keymap): Likewise.
  7509.  
  7510.     * emacs.c (__do_global_ctors, __do_global_ctors_aux): New dummy fns.
  7511.     (__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
  7512.  
  7513.     * fileio.c (Fdo_auto_save): Always call record_auto_save.
  7514.  
  7515.     * keyboard.c (read_char): Call read_char_menu_prompt here.
  7516.     Accept 4 new args to pass to it.  Include them in recursive call.
  7517.     Don't delay before starting echo if prev_event was a mouse event.
  7518.     Test for eof in batch mode now understands C is a Lisp_Object.
  7519.     (read_key_sequence): Don't call it here; always call read_char.
  7520.     Don't change last_event_buffer after a mouse menu input.
  7521.     (read_char_menu_prompt): Arg PROMPT deleted.
  7522.     Return nil if nothing to do.
  7523.  
  7524.     * xmenu.c (Fx_popup_menu): Treat coords relative to spec'd window.
  7525.     (single_keymap_panes): New function; contains guts of keymap_panes.
  7526.     If a command binding for submenu has a prompt string starting with @,
  7527.     make a separate pane for it at this level.
  7528.  
  7529.     * xfns.c (Fx_track_pointer): Pass new args to read_char.
  7530.     (Fx_select_region, Fx_horizontal_line): Likewise.
  7531.     * lread.c (Fread_char): Pass new args to read_char.
  7532.     (Fread_event, Fread_char_exclusive): Likewise.
  7533.     * fns.c (Fy_or_n_p): Pass new args to read_char.
  7534.  
  7535. Sun Aug 30 15:05:00 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7536.  
  7537.     * keyboard.c (read_key_sequence): Keep track of prev_event.
  7538.     Pass new proper args to read_char_menu_prompt.
  7539.     (read_char_menu_prompt): New arg prev_event.  Use Fx_popup_menu.
  7540.     Handle any number of keymaps, not just LOCAL and GLOBAL.
  7541.     Invert meaning of arg PROMPT.  Test of menu_prompting was backwards.
  7542.  
  7543.     * keymap.c (keymap_table): No longer static.
  7544.  
  7545.     * xmenu.c (keymap_panes): New function.
  7546.     (Fx_popup_menu): Accept keymap or list of keymaps as MENU argument.
  7547.     Accept mouse button event as POSITION argument.
  7548.  
  7549. Sat Aug 29 19:59:41 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7550.  
  7551.     * cmds.c (internal_self_insert): Assume Fexpand_abbrev expanded
  7552.     something if it incremented MODIFF.
  7553.  
  7554. Fri Aug 28 22:30:25 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7555.  
  7556.     * unexmips.c (unexec): Allow sections in any order.
  7557.     Adjust addresses of rdata section as well as data section.
  7558.  
  7559.     * buffer.c (syms_of_buffer): Made buffer-display-table,
  7560.     buffer-field-list and buffer-undo-list allow any type of value.
  7561.  
  7562. Thu Aug 27 00:14:54 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7563.  
  7564.     * fns.c (Fappend): Doc fix.
  7565.  
  7566. Mon Aug 24 17:47:40 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7567.  
  7568.     * s/usg5-4.h: Incorporate changes from 18.58:
  7569.     (LIBX10_SYSTEM): Undefine this.
  7570.     (GNULIB): Definition deleted -- done in ymakefile.
  7571.     (LIB_STANDARD): Don't use GNULIB.
  7572.     (HAVE_TCATTR): Defined.
  7573.  
  7574.     * xfns.c (x_icon): Don't call x_wm_set_icon_positions if the user
  7575.     hasn't specified the icon position.  Let the window manager put
  7576.     the icon where it likes.
  7577.  
  7578.         * xterm.c (x_make_frame_invisible): Don't forget to check the
  7579.     return value of XWithdrawWindow; it could indicate that the window
  7580.     wasn't successfully redrawn.
  7581.  
  7582.     * sysdep.c (init_baud_rate): Re-arranged order of conditionals -
  7583.     test TERMIOS before TERMIO; when two options might both be
  7584.     defined, test the most recent first, so that the most recent
  7585.     functions get used.
  7586.  
  7587.     * sysdep.c [HAVE_TERMIO] (init_baud_rate): Don't use tcgetattr
  7588.     unless HAVE_TCATTR is defined.  Only very rarely do termio systems
  7589.     have the tc{get,set}attr macros.
  7590.  
  7591.     * window.c (coordinates_in_window): Do not assume that all
  7592.     one-line windows are the minibuffer, or that all minibuffers are
  7593.     one line high.  Use MINI_WINDOW_P.
  7594.  
  7595.         * systerm.h: Renamed to systty.h, to be more consistent with
  7596.     everything else in Unix.
  7597.     * dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include
  7598.     directive changed.
  7599.     * ymakefile: References to systerm.h changed.
  7600.  
  7601.     * s/usg5-3.h: Merged changes from 18.58:
  7602.     (HAVE_SYSV_SIGPAUSE): Defined.
  7603.     (BROKEN_TIOCGETC): Defined.
  7604.  
  7605. Fri Aug 21 22:50:34 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7606.  
  7607.     * process.c (WCOREDUMP): Define only if not defined.
  7608.     (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
  7609.     
  7610. Thu Aug 20 16:45:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7611.  
  7612.         * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate
  7613.     number of arguments.
  7614.     * fns.c (Fyes_or_no_p): Same.
  7615.  
  7616.     * dispnew.c (update_frame): Change the way we handle
  7617.     cursor_in_echo_area.  Firstly, ignore this if the frame we're
  7618.     updating doesn't have a minibuffer.  Secondly, don't handle the
  7619.     selected frame specially.  Thirdly, don't assume that the
  7620.     minibuffer is only one line high.  If cursor_in_echo_area < 0, put
  7621.     the cursor in the upper-left corner; if cursor_in_echo_area > 0,
  7622.     put it on the lowest non-empty line in the minibuffer window, or
  7623.     on the top line.
  7624.  
  7625.     * dispnew.c (direct_output_for_insert): Fail if
  7626.     cursor_in_echo_area is set; we don't want to do the typing there.
  7627.     (direct_output_for_insert): Same.
  7628.  
  7629. Wed Aug 19 14:10:01 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7630.  
  7631.         * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
  7632.     available [HAVE_X11R4]; send the UnmapNotify event when
  7633.     appropriate [HAVE_X11]; just unmap the window if that's all that's
  7634.     needed [not HAVE_X11].
  7635.  
  7636.     * xterm.c (x_set_text_property): Removed; it's only called from
  7637.     one place.  Who wants *another* layer of indirection?
  7638.     * xfns.c (x_set_name): Use XSetWM{Name,IconName} when available
  7639.     [HAVE_X11R4], or XSetIconName and XStoreName otherwise.
  7640.  
  7641.     * xterm.h (FRAME_X_WINDOW): New macro, for readability.
  7642.     * xterm.c, xfns.c, xselect.c: Use it.
  7643.  
  7644.     * emacs.c (Fkill_emacs): Doc fix.
  7645.     (syms_of_emacs): Doc fix for Vkill_emacs_hook.
  7646.  
  7647.     * xterm.c (x_death_handler): Renamed to x_connection_closed.
  7648.     (x_term_init): Use x_connection_closed as the SIGPIPE handler.
  7649.  
  7650.     * xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
  7651.     x_error_handler): Removed; you can't catch X errors this way,
  7652.     since you can't perform X operations from within an X error
  7653.     handler, and even though we call error, we're still within an X
  7654.     error handler.
  7655.     (x_error_quitter, x_error_catcher): New functions, for panicking
  7656.     on and catching X protocol errors.
  7657.     (x_caught_error_message): Buffer for caught X errors.
  7658.     (x_catch_errors, x_check_errors, x_uncatch_errors): New functions
  7659.     for catching errors.
  7660.     (x_term_init): Set the error handler to x_error_quitter, rather
  7661.     than x_error_handler.
  7662.     * xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors,
  7663.     and x_uncatch errors to avoid crashing if the user selects an
  7664.     odd cursor.
  7665.  
  7666.     * xterm.c (x_proto_requests): Removed; it's not important.
  7667.     
  7668.     * xterm.c (events): Array removed; it's not used.
  7669.  
  7670.     * xfns.c (select_visual): Use XVisualIDFromVisual when available
  7671.     [HAVE_X11R4].
  7672.     
  7673.     * xrdb.c (get_user_db): Use XResourceManagerString when available
  7674.     [HAVE_X11R4].
  7675.  
  7676.     * window.c (change_window_height): If the size of the window will
  7677.     shrink below the minimum, this code would only try to delete it if
  7678.     it had a parent.  Well, even if the window doesn't have a parent,
  7679.     you want Fdelete_window to signal an error, since you're trying to
  7680.     resize one of the undeleteable windows into nothingness.  So call
  7681.     Fdelete_window even if the window doesn't have a parent.
  7682.  
  7683.     * window.c (MINSIZE): Add kludge so that the minibuffer is always
  7684.     allowed to shrink to one line in height.
  7685.     (MINSIZE, CURBEG, CURSIZE): Change these so that their argument
  7686.     are always Lisp_Objects, not struct window *'s.
  7687.     (change_window_height): Changed accordingly.
  7688.  
  7689. Tue Aug 18 16:09:11 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7690.  
  7691.         * frame.h (struct frame): New member - explicit_name.
  7692.     * frame.c (make_frame): Clear it.
  7693.     * xfns.c (x_set_name): Take new argument EXPLICIT, instead of
  7694.     OLDVAL.
  7695.     (x_explicitly_set_name, x_implicitly_set_name): New functions.
  7696.     (x_frame_parms): Use x_explicitly_set_name here.
  7697.     (x_window): Use x_implicitly_set_name here.
  7698.     * xdisp.c (display_mode_line): Use x_implicitly_set_name here.
  7699.  
  7700.     * xterm.c (x_wm_hints): Variable deleted.  This has to be
  7701.     per-screen.  Duh.
  7702.     * xterm.h (struct x_display): New member: wm_hints.
  7703.     * xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap,
  7704.     x_wm_set_icon_position): Use F->wm_hints, rather than x_wm_hints.
  7705.     (x_term_init): Don't initialize x_wm_hints here.
  7706.     * xfns.c (Fx_create_frame): Instead, initialize f->x_wm_hints
  7707.     here.
  7708.  
  7709.     * xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs
  7710.     and UNBLOCK_INPUTs.  And remember that VALUE is the string we want
  7711.     to set the name to, not PROPERTY.
  7712.  
  7713. Mon Aug 17 15:39:28 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7714.  
  7715.     * frame.c (make_minibuffer_frame): Don't set this to auto-raise by
  7716.     default.  It's annoying.
  7717.  
  7718.     * frame.c (make_minibuffer_frame): Set the prev field of the
  7719.     minibuffer window on a minibuffer-only frame to Qnil, rather than
  7720.     having it point to itself.  This confuses code (Fprevious_window
  7721.     and change_window_height, for example), and is only an attempt to
  7722.     support a convention that can't really be used in Emacs 19 anymore.
  7723.     * window.h: Document the fact that we can no longer assume that
  7724.     the minibuffer's previous window is the root window, since a
  7725.     minibuffer window in a minibuffer-only frame has a prev field of
  7726.     nil.
  7727.     * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this by
  7728.     reference to the_only_frame.root_window, rather than by assuming
  7729.     that minibuf_window->prev is the root window.  While this is true
  7730.     in the non-multi-frame case, we want to discourage this assumption
  7731.     in code.
  7732.     * dispnew.c [not MULTI_FRAME] (Fredraw_display): Use
  7733.     FRAME_ROOT_WINDOW instead of minibuf_window->prev.
  7734.     * xdisp.c (redisplay, init_xdisp): Same.
  7735.     * window.c (Fset_window_configuration): Removed #if 0'd code which
  7736.     assumes that minibuf_window is on the same frame as the window
  7737.     configuration.  Removed special case for windows whose prevs
  7738.     point to themselves.
  7739.  
  7740.     * window.c (Fset_window_configuration): Rename the argument from
  7741.     ARG to CONFIGURATION, so it matches the docstring.  The
  7742.     make-docfile program cares.
  7743.  
  7744.     * window.c [MULTI_FRAME] (syms_of_window): Don't staticpro
  7745.     minibuf_window; the frame list will take care of it.
  7746.  
  7747.     * xterm.h (HAVE_X11R4): Since we can autodetect this, and can
  7748.     write code more likely to be future-compatible, define this when
  7749.     appropriate.
  7750.     * xterm.c (x_set_text_property): Define this appropriately for
  7751.     X11R3 and X11R4.
  7752.  
  7753.     * xterm.c (x_set_text_property): Make this take a Lisp_Object
  7754.     string as an argument, rather than a pointer and a length.
  7755.     * xfns.c (x_set_name): Caller changed.
  7756.  
  7757.     * xfns.c (x_get_arg): Accept a new type - symbol.  If we've
  7758.     retrieved a string from the xrdb database and the user wants a
  7759.     symbol, intern it.
  7760.     (Fx_create_frame): Use the symbol type here.
  7761.  
  7762.     * xfns.c (x_figure_window_size, x_icon, Fx_create_frame): Use
  7763.     values from enum resource_types for the last arg to x_get_arg,
  7764.     instead of passing numbers.
  7765.  
  7766.     * xfns.c (Fx_create_frame): When setting up the scroll bars, use
  7767.     the type parameter to x_default_parameter, rather than prefixing
  7768.     the resource name with a question mark.
  7769.  
  7770.     * xfns.c [not HAVE_X11] (Fx_create_frame): The resource which
  7771.     determines whether or not to use a bitmapped icon is called
  7772.     "IconType", not "BitmapIcon".  Update this.
  7773.  
  7774. Sat Aug 15 12:12:53 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7775.  
  7776.     * xterm.c: Doc fixes.
  7777.  
  7778.         More SYSV portability changes from Eric Raymond:
  7779.  
  7780.     * xterm.c [USG5]: Don't include <sys/types.h>.
  7781.  
  7782.     * xterm.c (x_make_frame_invisible): Instead of calling XWithdraw
  7783.     window, which isn't widely available, write out what it does,
  7784.     since that's not much.
  7785.     (x_iconify_frame): Explicitly perform both the X11R3 and X11R4
  7786.     methods for iconification; don't use XIconifyWindow, since that's
  7787.     not present in R3.
  7788.     
  7789.     * xterm.c (x_wm_set_size_hint): Don't bother setting the
  7790.     base_width and base_height members; their function is performed
  7791.     just as well by the min_width and min_height members, and if we
  7792.     use XSetNormalHints instead of XSetWMNormalHints, we can be
  7793.     compatible with R3.
  7794.  
  7795.     * xterm.c (x_error_handler): There is no way to invoke the default
  7796.     error handler which works on all versions of X11, so don't bother;
  7797.     call XGetErrorText and print the message ourselves.
  7798.  
  7799.     * xterm.c (x_term_init): Don't use MAXHOSTNAMELEN; this isn't
  7800.     defined on all systems.  Since we only use that as an initial
  7801.     guess anyway, it's not very important.
  7802.  
  7803. Fri Aug 14 20:51:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7804.  
  7805.     * abbrev.c (Fexpand_abbrev): If pre-expand hook changes the buffer,
  7806.     assume that means we "did an expansion".
  7807.  
  7808.     * cmds.c (internal_self_insert): Ignore value of Fexpand_abbrev;
  7809.     instead, check whether buf is modified when it returns.
  7810.  
  7811. Fri Aug 14 12:29:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7812.  
  7813.         Applied SYSV portability changes from Eric Raymond:
  7814.  
  7815.     * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>.
  7816.     Apparently, Xlib.h include string.h if SYSV is defined, and
  7817.     strings.h if not.
  7818.     Don't include <sys/types.h>; just declare getuid to return an
  7819.         int.  Big deal.
  7820.     (MAXPATHLEN): If this is not defined by the system's include
  7821.         files, give it a value of 256.
  7822.     (get_user_db): Fetch the defaults directly from the display
  7823.         structure, rather than using XResourceManagerString; that
  7824.         function doesn't exist in the older versions of X.
  7825.  
  7826.     * xterm.c (x_set_text_property): New function.
  7827.     * xfns.c (x_set_name): Use it instead of XSetWMName and
  7828.         XSetWMIconName.
  7829.  
  7830.     * xfns.c (select_visual): Fetch the visual id directly from v;
  7831.         don't call XVisualIDFromVisual, since that function is not
  7832.         available in earlier versions of X.
  7833.  
  7834.     * term.c (term_get_fkeys): Some systems define `static' to be the
  7835.         empty string, which means that you can't have constant
  7836.         initialized arrays inside a function.  So move the `keys' array
  7837.         outside of the function.
  7838.     * xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes.
  7839.     * xfns.c (x_make_gc): Same deal, regarding cursor_bits.
  7840.  
  7841.     * term.c (keys): Include definitions for "K2" (the center key on
  7842.         an IBM keypad), "F1" (F11), and "F2" (F12).  Handle "k0" and "k;"
  7843.         specially; see the code for details.
  7844.  
  7845.     * term.c (clear_end_of_line): Remember that on some systems,
  7846.         "static" gets defined to be the null string, so we can't declare
  7847.         an array to be static and then initialize it.  Since the array in
  7848.         question (buf) is only one element long, just make it a scalar
  7849.         rather than an array; it can then be initialized, even if it's
  7850.         not static.
  7851.  
  7852.     * systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS):
  7853.         Don't forget to define dummy versions of these.
  7854.  
  7855.     * systime.h [USE_UTIME]: time_t is a typedef, not a struct.
  7856.         Don't prefix it with `struct'.
  7857.  
  7858.     * systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be
  7859.         any way to do this, don't forget to give it a dummy definition.
  7860.  
  7861.     * sysdep.c (select): There's no need to cast the return value of
  7862.         signal anymore, since we have the SIGTYPE macro defined.
  7863.  
  7864.     * sysdep.c (read_input_waiting): When scanning for quit
  7865.         characters, use the value of quit_char, rather than assuming that
  7866.         C-g is the quit character.  And don't forget to declare i.
  7867.  
  7868.     * sysdep.c [USG5]: Don't include fcntl.h.
  7869.  
  7870.     * s/usg5-3.h: Eric Raymond writes:
  7871.     Define HAVE_SELECT and BSTRINGS only if HAVE_X_WINDOWS is on,
  7872.     because that means we'll be linking in the shared libraries
  7873.     containing the BSD emulations.  Teach the file about the shared
  7874.     libraries necessary to link X programs, because AT&T doesn't
  7875.     supply static libraries for X.  Also, fix the incorrect assertion
  7876.     that -lg cannot be used with SVr3.  Finally, force USE_UTIMES and
  7877.     BROKEN_TIOCGWINSZ.  (Note for the future; there may be a
  7878.     utimes(2)) emulation lurking in the X shared libraries.)
  7879.  
  7880.     * s/usg5-4.h (USE_UTIME): Remove this definition; the C library
  7881.         still doesn't have utimes.
  7882.  
  7883.     * ralloc.c (get_bloc): When initializing new_bloc->variable, cast
  7884.     NIL to (POINTER *).
  7885.     (malloc_init): Give warning if sbrk returns zero.  Wonder what
  7886.     that's supposed to mean.
  7887.  
  7888.     * process.c (process_send_signal): Don't send SIGTSTP if the
  7889.     system doesn't have that facility.
  7890.  
  7891.     * process.c: [USG5] Don't include <fcntl.h>.
  7892.     [USG] Don't bother including <termios.h>, <termio.h>, or
  7893.     <fcntl.h>; systerm.h takes care of all that.
  7894.     Remove the "mis;tak-+;;" line from the code; apparently this
  7895.     section of code does get used.
  7896.  
  7897.     * minibuf.c (Fread_from_minibuffer): Put this function's doc
  7898.     string into a comment; it's too long for the PCC preprocessor.
  7899.     Rah.
  7900.     (Fcompleting_read): Same deal.
  7901.  
  7902.     * keyboard.c (init_keyboard): Changed "#endif SIGIO" to
  7903.     "#endif /* SIGIO */"
  7904.     * mocklisp.c (Fml_substr): Same sort of thing.
  7905.     * process.c (wait_reading_process_input): Same.
  7906.  
  7907.     * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely
  7908.     available, and hardly vital.
  7909.     (syms_of_floatfns): Adjusted appropriately.
  7910.  
  7911.     * floatfns.c (Flog): Accept optional second arg, being the base
  7912.     for the logarithm.
  7913.     [USG] (Flogb): Define this in terms of Flog.
  7914.  
  7915.     * data.c [USG] (Frem): Call fmod, rather than drem.  Rah.
  7916.  
  7917.     * emacs.c [USG5]: Don't #include <fcntl.h> for these systems.
  7918.  
  7919.     * alloc.c (Fmake_marker): Removed the test for being called from a
  7920.     signal handler.  The original bug is probably gone, the test
  7921.     wasn't written portably, and it should probably go somewhere else
  7922.     anyway - say, funcall or eval.
  7923.  
  7924.         End of changes from Eric Raymond.
  7925.  
  7926.     * xfns.c (Fx_create_frame): Make the default for the icon-type
  7927.         parameter nil, not t.  It seems to cause problems with some X
  7928.         servers.
  7929.  
  7930.     * lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help
  7931.     check the types of buffer-local variable slots.
  7932.     * buffer.c (syms_of_buffer): Call DEFVAR_PER_BUFFER with the new
  7933.     TYPE argument.
  7934.     * abbrev.c (syms_of_abbrev): Same.
  7935.     * buffer.c (buffer_local_types): New variable.
  7936.     (buffer_slot_type_mismatch): New function.
  7937.     * buffer.h (buffer_local_types): New extern declaration.
  7938.     * data.c (store_symval_forwarding): When storing through a
  7939.     Lisp_Buffer_Objfwd, check if the slot requires a particular type,
  7940.     and report an error if the types clash.
  7941.     * lread.c (defvar_per_buffer): Support new TYPE argument, by
  7942.     setting the appropriate slot in buffer_local_types.
  7943.  
  7944. Thu Aug 13 14:52:14 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7945.  
  7946.     * window.c (window_loop): This used to keep track of the first
  7947.     window processed and wait until we came back around to it.  Sadly,
  7948.     this doesn't work if that window gets deleted.  So instead, use
  7949.     Fprevious_window to find the last window to process, and loop
  7950.     until we've done that one.
  7951.  
  7952.     * window.c [not MULTI_FRAME] (init_window_once): Don't forget to
  7953.     set the `mini_p' flag on the new minibuffer window to t.
  7954.  
  7955.     * window.c (Fwindow_at): Don't check the type of the frame
  7956.     argument.
  7957.  
  7958.     * window.c [not MULTI_FRAME] (window_loop): Set frame to zero,
  7959.     instead of trying to decode it.
  7960.  
  7961.     * frame.h [not MULTI_FRAME] (the_only_frame): Put a comment above
  7962.     this indicating that it's not GCPRO'd.  Put parens around some of
  7963.     the FRAME_* macros' definitions.
  7964.     [not MULTI_SCREEN] (Fselected_frame): New function.
  7965.  
  7966.     * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this in
  7967.     terms of minibuf_window, rather than by reference to
  7968.     the_only_frame.
  7969.     * window.c (init_window_once): Initialize minibuf_window before
  7970.     FRAME_ROOT_WINDOW, so the latter actually points to something.
  7971.  
  7972.     * keyboard.c (Fexecute_mouse_event): dyked-out function deleted.
  7973.     We're not going to use this mouse interface.
  7974.     (Vmouse_window, Vmouse_event, Vmouse_event_function,
  7975.     Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook,
  7976.     Vmouse_motion_handler): Variables deleted; they were to be used by
  7977.     Fexecute_mouse_event.
  7978.     (syms_of_keyboard): Same.
  7979.     (command_loop_1): Remove dyked-out code to support
  7980.     Fexecute_mouse_event.
  7981.     (read_char): Same.
  7982.  
  7983.     * keyboard.c (Vlast_event_frame): Don't define this window if
  7984.     MULTI_FRAME is not #defined.
  7985.     (syms_of_keyboard): Same.
  7986.     (kbd_buffer_store_event): Don't try to work with Vlast_event_frame
  7987.     if MULTI_FRAME is not #defined.
  7988.     (kbd_buffer_get_event): Same.
  7989.  
  7990.     * keyboard.c (Fdiscard_input): Removed dyked-out code from when
  7991.     unread_command_char's quiescent value was -1, not nil.
  7992.  
  7993.     * frame.c (make_frame): Stop passing zero to make_window; it's not
  7994.     expecting any arguments.
  7995.  
  7996. Wed Aug 12 10:22:49 1992  Jim Blandy  (jimb@albert.gnu.ai.mit.edu)
  7997.  
  7998.         * unexsunos4.c: Deleted "$Log" header in comments at top of file;
  7999.     this was beginning to grow RCS hair, which we don't want.
  8000.     * xmenu.c: Same deal.
  8001.  
  8002. Tue Aug 11 10:15:30 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8003.  
  8004.         * fileio.c (Fread_filename): Don't add one here.
  8005.     * minibuf.c (Fcompleting_read): Instead, stop subtracting one
  8006.     here, so this function lives up to its doc string, which I think
  8007.     specifies an okay way to work.
  8008.  
  8009.     * doc.c (Vdata_directory): Removed; this is declared in callproc.c.
  8010.     (syms_of_doc): Initialization removed.
  8011.  
  8012.     * xfns.c (x_get_arg): Return Qunbound for an unspecified
  8013.     resource, not nil.  That way, we can tell the difference between a
  8014.     false resource and an unspecified resource.
  8015.     (x_default_error): Use DEFLT if x_get_arg returns Qunbound, not Qnil.
  8016.     (x_figure_window_size, x_icon, Fx_create_frame): Deal with
  8017.     Qunbound and Qnil properly.
  8018.  
  8019.     * xfns.c (Fx_create_frame): Pass the correct number of arguments
  8020.     to x_set_font.
  8021.  
  8022.     * xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's
  8023.     only included if we *do* have X11.  Blind patching.
  8024.  
  8025.         * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and
  8026.     x_wm_set_window_state instead of calling XSetWMHints directly.
  8027.     * xterm.c (x_wm_hints): New variable.
  8028.     (x_wm_set_window_state, x_wm_set_icon_pixmap,
  8029.     x_wm_set_icon_position): Use x_wm_hints.
  8030.     (x_term_init): Set the `input' field of x_wm_hints, and its flag.
  8031.  
  8032.     * xterm.c (x_text_icon): Call x_wm_set_icon_pixmap with a pixmap
  8033.     of zero, to clear the pixmap.
  8034.     (x_wm_set_icon_pixmap): Accept this protocol; if pixmap is zero,
  8035.     specify no pixmap for the icon.
  8036.  
  8037.     * xfns.c (x_default_parameter): Don't call store_frame_param here;
  8038.     it's already taken care of by x_set_frame_parameters.
  8039.  
  8040.     * xfns.c (Fx_create_frame): Check for the `icon-type',
  8041.     `auto-raise', and `auto-lower' parameters. Have `icon-type'
  8042.     default to t, indicating that we want the nifty gnu in our icons.
  8043.     (Qauto_lower): New symbol.
  8044.  
  8045.     * xfns.c (x_set_icon_type): UNBLOCK_INPUT before reporting the
  8046.     error, not after.  error doesn't return, sklitch-brain.
  8047.  
  8048.     * xterm.c (x_set_window_size): Call check_frame_size to make sure
  8049.     that the requested dimensions are within acceptable limits.
  8050.     Store the new size information in the frame structure.
  8051.  
  8052.     * xfns.c (x_set_frame_parameters): Properly recognize changes to
  8053.     the height of the frame.  Recognize changes of the frame's
  8054.     position.
  8055.  
  8056.     * xfns.c (x_set_frame_parameters): Iterate over ALIST while the
  8057.     current element is cons, not while it's non-nil.
  8058.     (syms_of_xfns): Call init_x_parm_symbols after interning all the
  8059.     other atoms; init_x_parm_symbols expects Qx_frame_parameter to be
  8060.     initialized.
  8061.  
  8062. Mon Aug 10 07:56:47 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8063.  
  8064.     * xfns.c (Qbackground_color, Qborder_color,  Qborder_width,
  8065.     Qcursor_color,  Qfont,  Qforeground_color,  Qgeometry,
  8066.     Qhorizontal_scroll_bar,  Qicon_left,  Qicon_top,  Qiconic_startup,
  8067.     Qinternal_border_width,  Qleft,  Qmouse_color,  Qparent_id,
  8068.     Qsuppress_icon,  Qsuppress_initial_map,  Qtop,  Qundefined_color,
  8069.     Qvertical_scroll_bar,  Qwindow_id,  Qx_frame_parameter): New
  8070.     symbols, with lisp code to rebuild syms_of_xfns.
  8071.     (syms_of_xfns): Initialize and staticpro them.
  8072.     (Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth,
  8073.     Qunsplittable): Add extern declaration for these.
  8074.     (x_init_parm_symbols): Don't initialize Qx_frame_parameter here;
  8075.     it's done in syms_of_xfns.
  8076.     (x_default_parameter): Change the argument char *PROPNAME into a
  8077.     Lisp_Object PROP; let the caller take care of interning the atom.
  8078.     (Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use
  8079.     the new Q... variables, instead of interning things.
  8080.  
  8081.     * frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly,
  8082.     Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild
  8083.     syms_of_frame.
  8084.     (syms_of_xfns): Initialize and staticpro them.
  8085.     (Fframep, Fframe_visible_p, Fframe_parameters):  Use
  8086.     the new Q... variables, instead of interning things.
  8087.     (store_in_alist): Change the argument char *PROPNAME into a
  8088.     Lisp_Object PROP; let the caller take care of interning the atom.
  8089.  
  8090.     * frame.c (Fframe_visible_p): Doc fix.
  8091.  
  8092.     * frame.c (Fframe_parameters): When figuring the `minibuffer'
  8093.     parameter, if FRAME doesn't have a minibuffer, return `none', not
  8094.     nil.  If it does have a minibuffer with other windows, return the
  8095.     window.
  8096.  
  8097.     * frame.c (Fmodify_frame_parameters): Don't write out the loop for
  8098.     processing X frame parameters here; do it in the x specific code.
  8099.     Call the function which deals with this stuff
  8100.     x_set_frame_parameters, not x_set_frame_parameter.
  8101.     * xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters.
  8102.     (x_set_frame_parameters): Process the alist of parameters here.
  8103.         Notice `width', `height', `top', and `left' parameters.
  8104.         Hold off changing the frame size and position until the end, so we
  8105.     can do both parameters at once when they are both specified.
  8106.     (x_default_parameter): Call x_set_frame_parameters, not
  8107.     x_set_frame_param.
  8108.  
  8109.     * frame.c (Fmake_frame_visible, Fmake_frame_invisible,
  8110.     Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters,
  8111.     Fset_frame_height, Fset_frame_width, Fset_frame_size,
  8112.     Fset_frame_position): Place clauses controlled by FRAME_X_P inside
  8113.     `#ifdef HAVE_X_WINDOWS ... #endif' clauses.
  8114.  
  8115.     * frame.c (Fset_frame_position): Doc fix.
  8116.  
  8117.     * dispnew.c (Fredraw_frame): Call clear_frame_records before
  8118.     calling update_end, so that x_display_box_cursor can rely on the
  8119.     contents of f->current_glyphs.
  8120.  
  8121.     * xfns.c (x_figure_window_size): Indicate that this function
  8122.     returns an int, rather than just leaving it unstated.
  8123.  
  8124.     * xterm.c (x_wm_set_size_hint): Don't try to set the base_height
  8125.     and base_width elements of size_hints if PBaseSize is not
  8126.     #defined.  Set the minimum frame size according to the information
  8127.     returned by check_frame_size.
  8128.  
  8129.     * window.h (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
  8130.     removed.
  8131.     (check_frame_size): New extern declaration.
  8132.     * window.c (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
  8133.     defined here now.
  8134.     (check_frame_size): New function.
  8135.     * dispnew.c (change_frame_size): Call check_frame_size here,
  8136.     rather than writing out its code.  Don't declare newheight and
  8137.     newwidth to be register variables, since we take their address.
  8138.  
  8139.     * bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
  8140.     sure the count on the symbol's `byte-code-meter' property does not
  8141.     overflow.
  8142.  
  8143.     * bytecode.c (syms_of_bytecode): Add a docstring for
  8144.     byte-metering-on.
  8145.  
  8146. Sat Aug  8 13:27:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8147.  
  8148.     * dispnew.c (in_display): Variable deleted; it's only ever used as
  8149.     an unofficial parameter to change_frame_size.
  8150.     (change_frame_size): New argument, DELAY, which when non-zero
  8151.     indicates to delay the size change until later.  This should be
  8152.     passed as one from signal handlers.
  8153.     (window_change_signal): Call change_frame_size with a DELAY of 1.
  8154.     (do_pending_window_change): Call change_frame_size with DELAY of 0.
  8155.     * frame.c [MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  8156.     Fset_frame_size): Same.
  8157.     [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  8158.     Fset_frame_size, Fset_screen_height, Fset_screen_width): Same.
  8159.     * keyboard.c (Fsuspend_emacs): Call change_frame_size with the
  8160.     proper arguments - the height and width are the second and third
  8161.     arguments, not the first and second.  Pass 0 for DELAY.
  8162.     * xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0.
  8163.     * xterm.c (XTread_socket, x_do_pending_expose): Call
  8164.     change_frame_size with a DELAY of 1.
  8165.     
  8166.     * xterm.c (in_display): Deleted this; it's never used in xterm.c,
  8167.     and there is another variable by the same name in dispnew.c.
  8168.  
  8169.     * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  8170.     Fset_frame_size, Fframe_height, Fframe_width): New functions, for
  8171.     use when Emacs is not compiled with multiple screens.
  8172.     [not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width):
  8173.     Functions added for backward compatibility with Emacs 18.  These
  8174.     would be just aliases, except that the version 18 functions don't
  8175.     take a FRAME argument.
  8176.     [not MULTI_SCREEN] (syms_of_frame): New function, to defsubr the
  8177.     above and add screen-height and screen-width as aliases for
  8178.     Fframe_height and Fframe_width.
  8179.     * emacs.c (main): Call syms_of_frame unconditionally.  When
  8180.     MULTI_FRAME is not defined, it still provides the Fframe_width,
  8181.     Fframe_height, Fset_frame_width, and Fset_frame_height functions.
  8182.  
  8183.     * frame.c (Fset_frame_width): Change the size of FRAME, not of
  8184.     selected_frame.
  8185.  
  8186.     * frame.c (Fset_frame_width, Fset_frame_height): Declare the
  8187.     `frame' argument to be a Lisp_Object.  It used to be undeclared.
  8188.  
  8189. Fri Aug  7 07:27:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8190.  
  8191.     * dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c,
  8192.     window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X,
  8193.     FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P,
  8194.     and FRAME_HAS_MINIBUF_P, for consistency with the rest of the
  8195.     frame macros.
  8196.  
  8197.     * window.h (MIN_SAFE_WINDOW_WIDTH, MIN_SAFE_WINDOW_HEIGHT): New
  8198.     macros.
  8199.     * window.c (check_min_window_sizes): New function.
  8200.     (set_window_height): Call it.
  8201.     (Fsplit_window, change_window_height): Call it, instead of writing
  8202.     out its code.
  8203.     * dispnew.c (change_frame_size): If newlength or newwidth are too
  8204.     small (according to the value of MIN_SAFE_WINDOW_{WIDTH,HEIGHT}),
  8205.     force them larger.  This isn't really right, but it's better than
  8206.     crashing.
  8207.  
  8208.     * editfns.c (Fcurrent_time_zone): Doc fix.
  8209.  
  8210. Thu Aug  6 04:13:11 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8211.  
  8212.     * editfns.c (Fcurrent_time_zone): Don't forget to include code to
  8213.     signal an error when EMACS_CURRENT_TIME_ZONE is not defined.
  8214.  
  8215. Thu Aug  6 03:25:23 1992  Joseph Arceneaux (jla@gnu.ai.mit.edu)
  8216.  
  8217.         * doc.c (Vdata_directory): Declared.
  8218.     (syms_of_doc): Initialized.
  8219.  
  8220.     * fileio.c (Fread_filename): Add 1 to the offset position for the
  8221.     cursor when reading file names.
  8222.  
  8223. Wed Aug  5 01:34:21 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8224.  
  8225.     * systime.h (EMACS_CURRENT_TIME_ZONE): New macro.
  8226.     * editfns.c (Fcurrent_time_zone): New function.
  8227.     (syms_of_editfns): defsubr it.
  8228.  
  8229.     * keyboard.c (read_key_sequence): Clear the eighth bit of the
  8230.     character from the key sequence, NOT the index of the character IN
  8231.     the key sequence.  How many tries will it take to get it right?
  8232.  
  8233. Tue Aug  4 17:22:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  8234.  
  8235.     * eval.c (syms_of_eval): Doc fix for debug-on-quit.
  8236.  
  8237. Mon Aug  3 01:35:40 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8238.  
  8239.     * callproc.c (Fcall_process): Doc fix.  Used to claim that
  8240.     Fcall_process doesn't wait when BUFFER was nil.  It does.
  8241.  
  8242. Thu Jul 30 16:20:48 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8243.  
  8244.     * keyboard.c (read_key_sequence): Scan for function keys when t >=
  8245.     mock_input, not when t > mock_input.  We do want to scan for
  8246.     function keys when t == mock_input.
  8247.  
  8248.     * keyboard.c (read_key_sequence): Don't increment fkey_end when
  8249.     testing to see if keybuf[fkey_end] is a meta-character.
  8250.  
  8251. Mon Jul 27 17:23:14 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8252.  
  8253.     * Makefile.in (TAGS): Generate tags for files in ../external-lisp
  8254.     too.
  8255.  
  8256. Sun Jul 26 15:34:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8257.  
  8258.     * eval.c (find_handler_clause): For quit, don't check Vdebug_on_error.
  8259.     (wants_debugger): Rewrite so it cannot get an error.
  8260.  
  8261.     * callint.c (Fcall_interactively): Handle enable-recursive-minibuffers
  8262.     property on the command, by enabling recursive minibuffers.
  8263.     (syms_of_callint): Set Qenable_recursive_minibuffers.
  8264.  
  8265. Fri Jul 24 20:34:39 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8266.  
  8267.     * frame.c (Fmake_frame_visible, Fmake_frame_invisible,
  8268.     Ficonify_frame): Make the first argument optional, defaulting to
  8269.     selected_frame.
  8270.     (Ficonify_frame, Fmake_frame_invisible): Add interactive specs, so
  8271.     we can bind these directly to C-z.
  8272.  
  8273. Fri Jul 24 02:44:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8274.  
  8275.     * fileio.c (Fread_file_name): Use new calling convention for
  8276.     Fcompleting_read, with history as Qfile_name_history.
  8277.     (syms_of_fileio): Set Qfile_name_history; set the var to nil.
  8278.     Do staticpro for the recently created Q* vars.    
  8279.  
  8280.     * minibuf.c (read_minibuf): Two additional args histvar and histpos.
  8281.     All calls changed.
  8282.     (Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS).
  8283.     Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION).
  8284.     Pass BACKUP_N arg to read_minibuf properly as Lisp object.    
  8285.     (Fread_from_minibuffer): Likewise.
  8286.     (syms_of_minibuf): Set Qminibuffer_history and staticpro it.
  8287.  
  8288.     * eval.c (Ffuncall, Feval): Support subrs with 7 args.
  8289.  
  8290.     * fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf.
  8291.     * callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input
  8292.     rather than read_minibuf.    
  8293.  
  8294. Thu Jul 23 22:45:46 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8295.     
  8296.     * minibuf.c (Vminibuffer_history_variable): New variable.
  8297.     (syms_of_minibuf): Define variable minibuffer-history-variable.    
  8298.     (read_minibuf): Push the string on specified history list.
  8299.     
  8300. Thu Jul 23 22:35:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8301.  
  8302.     * Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}.
  8303.     Don't include $(MAKEOVERRIDES); that is always implicit.
  8304.  
  8305. Wed Jul 22 11:17:08 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8306.  
  8307.     * keyboard.c (read_key_sequence): If we have read a
  8308.     meta-character, prefix it with meta_prefix_char before looking it
  8309.     up in the function key keymap.
  8310.  
  8311.     * lread.c (Fread_char_exclusive): Code this with a do-while loop,
  8312.     not a while loop with its body repeated.
  8313.  
  8314.     * lread.c (Fread_event): Don't make this function's definition
  8315.     conditional on X-windows.  It ought to be there no matter how
  8316.     Emacs was built.
  8317.     (syms_of_lread): Don't make its defsubr conditional either.
  8318.  
  8319.     * lread.c (Fread_char): Doc fix.
  8320.  
  8321.     * fileio.c (find_file_handler): It's called
  8322.     Vfile_name_handler_alist, not Vfile_handler_alist.
  8323.     (Fwrite_region): Declare the variable named `handler'.
  8324.     (Fverify_visited_file_modtime): Use `b->filename', not `filename'.
  8325.     (Fset_visited_file_modtime): Declare the variable named `handler'.
  8326.     * dired.c (Fdirectory_files, Ffile_name_completion): Use
  8327.     `dirname', not `filename'.
  8328.     (Qfile_attributes): New variable.
  8329.     (syms_of_dired): Initialize it.
  8330.  
  8331.     * xselect.c (Fx_own_selection): If we're trying to set
  8332.     cut-buffer0, and the value is too large for the X server (as
  8333.     indicated by the max_request_size member of the X Display), just
  8334.     set the buffer to the empty string, and return nil.
  8335.  
  8336. Tue Jul 21 23:10:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8337.  
  8338.     * search.c (fast_string_match): New function.
  8339.     * fileio.c (find_file_handler): New function.
  8340.     (Fcopy_file, Fmake_directory, Fdelete_directory, Fdelete_file):
  8341.     (Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
  8342.     (Ffile_exists_p, Ffile_executable_p, Ffile_readable_p, Ffile_symlink_p)
  8343.     (Ffile_writable_p, Ffile_directory_p, Ffile_accessible_directory_p):
  8344.     (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p):
  8345.     (Fwrite_region, Fverify_visited_file_modtime):
  8346.     Use find_file_handler; call the handler and return.
  8347.     (Finsert_file_contents): Use find_file_handler;
  8348.     cannot just return after the handler, but must handle VISIT.
  8349.     (syms_of_fileio): Set up Qcopy_file, etc.    
  8350.     * dired.c (Fdirectory_files, Ffile_name_completion):
  8351.     (Ffile_name_all_completions, Ffile_attributes):
  8352.     Use find_file_handler; call the handler.
  8353.     (syms_of_dired): Set Qfile_attributes, etc.
  8354.  
  8355. Tue Jul 21 16:26:44 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8356.  
  8357.     * xselect.c (Fx_own_selection): Initialize val to nil, so that if
  8358.     we don't get the selection, we don't return garbage.  When setting
  8359.     cut-buffer0, set val to the string pasted.
  8360.  
  8361.     * xfns.c (x_set_name): If ARG is nil, set the frame's name to the
  8362.     current x_id_name.
  8363.     * xdisp.c (display_mode_line): If we should set the frame's name,
  8364.     but there is only one frame currently active, call x_set_name with
  8365.     nil as the name; this will display samething generically
  8366.     appropriate.
  8367.  
  8368. Mon Jul 20 15:06:24 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8369.     
  8370.     * lread.c (isfloat_string): Recognize floats without a leading
  8371.     integer part, noting that "e5" is a symbol, not a floating point
  8372.     number.
  8373.     
  8374.     * xdisp.c (message, message1): When displaying a message, don't
  8375.     make the minibuf frame visible unless the selected frame is also
  8376.     visible.  This means that frames won't pop up unless the user is
  8377.     actually interacting with Emacs.
  8378.  
  8379.     * xdisp.c (display_mode_line): If Emacs is currently supporting
  8380.     only one screen, don't change the title of the screen to the name
  8381.     of the current buffer; this is only annoying in this case.  We
  8382.     should probably think more carefully about how screens should be
  8383.     named.
  8384.  
  8385. Sun Jul 19 13:43:26 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8386.     
  8387.     * process.c (allocate_pty): Handle PTY_OPEN.    
  8388.     Delete system-specific alternatives to PTY_NAME_SPRINTF
  8389.     and PTY_TTY_NAME_SPRINTF.    
  8390.     
  8391. Sat Jul 18 21:07:10 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8392.     
  8393.     * callint.c (Fprefix_numeric_value): Fix typo: test raw, not val.
  8394.     
  8395. Fri Jul 17 16:35:54 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8396.  
  8397.     * xfns.c (x_window): x_set_name normally ignores requests to set
  8398.     the name if the requested name is the same as the current name.
  8399.     This is the one place where that assumption isn't correct; f->name
  8400.     is set, but the X server hasn't been told.  So fake it out.
  8401.  
  8402.     * emacs.c [sun] (main): On suns, localtime caches the value of the
  8403.     time zone rather than looking it up every time.  This means that
  8404.     the dumped Emacs doesn't check the value of the TZ environment
  8405.     variable.  Call tzset before entering the editing loop to check
  8406.     the new TZ value.
  8407.  
  8408. Thu Jul 16 11:39:38 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8409.  
  8410.     * dired.c (Fdirectory_files): Don't forget to pass the REGP
  8411.     argument to compile_pattern.
  8412.     * search.c (compile_pattern): If REGP is zero, don't call
  8413.     re_set_registers; nobody cares.
  8414.  
  8415.     * fileio.c (auto_save_error): Pass the correct number of arguments
  8416.     to Fsleep_for.
  8417.  
  8418.     * lread.c: Include <ctype.h> at the top of the file, instead of
  8419.     just before isfloat_string; read0 wants to use it too.
  8420.  
  8421.     * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region,
  8422.     Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc
  8423.     fixes.
  8424.     
  8425.     * process.c (Fprocess_status): Use get_process to find the process
  8426.     denoted by the PROC argument, not Fget_process.
  8427.  
  8428. Wed Jul 15 13:51:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8429.  
  8430.     * xdisp.c: Doc fix.
  8431.  
  8432. Tue Jul 14 10:42:58 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8433.  
  8434.     * window.c (syms_of_window): Doc fix for pop-up-frames.
  8435.  
  8436.     * frame.c (Fframe_parameters): Note that if FRAME is omitted, it
  8437.     defaults to the selected frame.
  8438.  
  8439.     * frame.c (Fframe_height, Fframe_width): Blocked out these
  8440.     functions; they have no C callers, and can be written nicely in
  8441.     lisp.
  8442.     
  8443.     * frame.c (Fframe_pixel_size): Function removed; there aren't
  8444.     enough other functions available to make this useful.  We need
  8445.     functions describing the size of the characters of a font.
  8446.  
  8447.     * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h,
  8448.     window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c,
  8449.     scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c,
  8450.     lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c,
  8451.     dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called
  8452.     frames, to avoid even more confusion with X terminology than
  8453.     Emacs's "windows" already cause.  All macros, functions, and
  8454.     variables renamed; all uses changed.
  8455.     * screen.c, screen.h: Renamed to frame.c and frame.h.  All
  8456.     #includers changed.
  8457.     * ymakefile: Adjusted appropriately.
  8458.     * buffer.c: Doc fixes.
  8459.  
  8460.     * xfns.c (Fx_store_cut_buffer): Reversed sense of test for non-X
  8461.     screen.
  8462.  
  8463.     * window.c (Frecenter): Doc fix; this function places point in the
  8464.     middle of the current window, not the current screen.
  8465.  
  8466.     * window.c (temp_output_buffer_show): Use WINDOW_SCREEN macro
  8467.     instead of accessing the member directly.
  8468.  
  8469. Mon Jul 13 14:21:34 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8470.  
  8471.     * print.c (print): Changed code which prints screen objects to use
  8472.     the SCREEN_LIVE_P macro instead of testing the screen structure
  8473.     directly.
  8474.  
  8475.     * alloc.c (undo_threshold, undo_high_threshold): Variables renamed
  8476.     to undo_limit and undo_strong_limit.
  8477.     (Fgarbage_collect): Uses changed.
  8478.     (syms_of_alloc): DEFVARs and docstrings changed.
  8479.     * undo.c (truncate_undo_list): Comment adjusted.
  8480.  
  8481.     * lread.c (read0): Allow floating-point numbers to begin with a
  8482.     period.  `(0 .5)' denotes a list of two numbers, not a dotted pair.
  8483.  
  8484. Sat Jul 11 14:15:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8485.  
  8486.     * fns.c, callproc.c: Doc fix.
  8487.  
  8488. Fri Jul 10 17:16:09 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8489.  
  8490.     * bytecode.c (Bsymbol_function, Bfset): Removed comments saying
  8491.     that these are no longer generated.  Jamie Zawinski's byte
  8492.     compiler does generate them, and he's actually collected
  8493.     statistics on how often these functions are called.
  8494.  
  8495. Thu Jul  9 21:47:45 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8496.  
  8497.     * screen.c (store_screen_param): Clarify error message.
  8498.  
  8499.     * xterm.c (x_make_screen_visible): Undo the change made on June
  8500.     30; that is not the right solution.  Apparently there are three
  8501.     states a window may be in: normal, iconified, and invisible.
  8502.  
  8503. Wed Jul  8 15:14:36 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8504.  
  8505.     * eval.c (Fmacroexpand): Code cleaned up; there's no need to
  8506.     handle forms like ((macro lambda ...) ...) specially.
  8507.  
  8508.     * fileio.c (Finsert_file_contents): Signal an error if we're asked
  8509.     to read from a named pipe.
  8510.  
  8511. Tue Jul  7 15:55:40 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8512.  
  8513.     * m/*.h (SIGN_EXTEND_CHAR): Removed these definitions.  The only
  8514.     place they were used is in regex.c, and nowadays that has its own
  8515.     definition, which works for any machine.  The definitions in the
  8516.     machine description files usually didn't work if given an unsigned
  8517.     character as an argument, anyway.
  8518.  
  8519. Sat Jul  4 12:11:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8520.  
  8521.     * buffer.c: Doc fix.
  8522.  
  8523. Thu Jul  2 18:27:26 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8524.  
  8525.     * minibuf.c (Fdisplay_completion_list): Declared new variables
  8526.     used in rms' previous change.
  8527.  
  8528. Thu Jul  2 18:11:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8529.  
  8530.     * minibuf.c (Fdisplay_completion_list): Handle non-buffer stream.
  8531.  
  8532. Wed Jul  1 22:30:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8533.  
  8534.     * window.c (Fdisplay_buffer): Add interactive spec.
  8535.  
  8536. Tue Jun 30 18:22:00 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8537.  
  8538.     * mem_limits.h: EXCEEDS_ELISP_PTR declared here.
  8539.     * ralloc.c: No longer declared here.
  8540.     * vm-limit.c: Nor here.  Also, include "lisp.h" before
  8541.     "mem_limits.h" and additionally include "config.h".
  8542.  
  8543. Tue Jun 30 06:01:04 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8544.  
  8545.     * xterm.c (x_make_screen_visible): Don't de-iconify the window;
  8546.     iconification is orthogonal to visibility.
  8547.  
  8548.     * emacs.c (syms_of_emacs): Change docstring for `kill-emacs-hook'
  8549.     to describe it as a hook, not as a single function.
  8550.  
  8551. Mon Jun 29 03:53:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8552.  
  8553.     * minibuf.c (Fread_no_blanks_input): Corrected maximum number of
  8554.     arguments from one to two.
  8555.  
  8556.     * emacs.c (Vkill_emacs_hook): Declare this here; it should have a
  8557.     docstring, so we might as well DEFVAR it.
  8558.     (syms_of_emacs): initialize it, and DEFVAR_LISP it with an
  8559.     appropriate docstring.
  8560.  
  8561. Sun Jun 28 03:58:20 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8562.  
  8563.     * lread.c (Feval_buffer): Make the DEFUN match the C argument
  8564.     list; this takes two optional arguments, not just one.
  8565.  
  8566.     * lisp.h (Lisp_Buffer_Local_Value): Comments neatened.
  8567.  
  8568.     * data.c (Fset): Fixed conditional which tests whether the cache
  8569.     is invalid.  It used to be pretty munged, and would always declare
  8570.     the cache invalid for Lisp_Buffer_Local_Value variables.  Now it
  8571.     declares the cache invalid if the buffer is wrong (obviously), of 
  8572.  
  8573. Sat Jun 27 04:12:49 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8574.  
  8575.     * data.c (Fset): Comments reformatted for readability.
  8576.  
  8577.     * xterm.c (last_mouse_movement_time): New variable.
  8578.     (note_mouse_position): Set it.
  8579.     (XTmouse_position): Return its current value as the position's
  8580.     timestamp.
  8581.  
  8582.     * keyboard.c (Qvertical_split): Renamed to `vertical-line',
  8583.     since the window arrangement is actually referred to as a
  8584.     `horizontal split.'
  8585.     (make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses
  8586.     renamed here.
  8587.     keyboard.h (Qvertical_split): Extern declaration changed here.
  8588.     window.c (Fcoordinates_in_window_p): Changed this to return
  8589.     `vertical-line' at the appropriate times, rather than
  8590.     `vertical-split'.
  8591.  
  8592.     * window.c (Fcoordinates_in_window_p): Put symbol names in
  8593.     opposing single quotes - `vertical-split', for example.
  8594.  
  8595.     * fileio.c (Fexpand_file_name): Don't signal an error if USERNAME
  8596.     in a "~USERNAME/..." filename isn't a real user; just leave the
  8597.     "~USERNAME" unchanged.
  8598.  
  8599.     * fileio.c (Fmake_symbolic_link): Rename argument `NEWNAME' to
  8600.     `LINKNAME', to conform with the docstring.
  8601.  
  8602.     * Makefile.in (CPP): Pass `-Is -Im' to CPP, to make sure that
  8603.     machine- and system-dependend files can include each other
  8604.     properly.
  8605.     * ymakefile (CFLAGS): Add those directories to the #include path
  8606.     here too.
  8607.  
  8608.     * Makefile.in (xmakefile): Build this via a temporary file, so
  8609.     that if preprocessing fails we don't nuke the xmakefile.
  8610.  
  8611.     * fileio.c: There are two versions of Fexpand_file_name defined
  8612.     here; the latter is inside a `#if 0' clause.  Change its DEFUN to
  8613.     a DEAFUN, so that its docstring doesn't make it into the DOC file
  8614.     and supercede the real docstring.
  8615.  
  8616.     * callint.c (Fcall_interactively): For the 'K' interactive spec,
  8617.     set varies[i] to -1, indicating that the mouse click should be
  8618.     quoted if the function makes it into the command history, and that
  8619.     this argument by itself does not qualify the command to be
  8620.     recorded in the history.
  8621.  
  8622. Fri Jun 26 05:57:01 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8623.  
  8624.     * data.c (Frem): The drem function will sometimes return a
  8625.     negative number.  If it does, add the divisor to it, to make it
  8626.     positive.
  8627.  
  8628.     * screen.c: Put '#ifdef MULTI_SCREEN' after the inclusion of
  8629.     config.h.
  8630.  
  8631.     * window.c (Fpos_visible_in_window_p): Remember to apply XSCREEN
  8632.     to w->screen before applying SCREEN_WIDTH.
  8633.  
  8634.     * screen.h [not MULTI_SCREEN] (last_nonminibuf_screen): Removed
  8635.     #definition of this; it's confusing when debugging.
  8636.     * screen.c (last_nonminibuf_screen): Variable moved from here...
  8637.     * dispnew.c (last_nonminibuf_screen): to here, beside
  8638.     selected_screen.  They should both exist, even if the multi-screen
  8639.     support is not present.
  8640.  
  8641.     * dispnew.c [not MULTI_SCREEN] (the_only_screen): New variable.
  8642.     Instead of having the non-multi-screen version of Emacs refer to
  8643.     lots of different variables scattered hither and yon, we'll just
  8644.     declare this new variable, of type `struct screen', and define the
  8645.     single-screen versions of the `SCREEN_foo' macros to reference its
  8646.     elements.  This avoids conflicts between names of local variables
  8647.     and names of global variables describing the screen, and simplifies
  8648.     some of the differences between the multi-screen and single-screen
  8649.     cases.
  8650.     * screen.h (enum output_method, struct screen): Removed these from
  8651.     the `#ifdef MULTI_SCREEN' conditional.
  8652.     * screen.h [not MULTI_SCREEN] (the_only_screen): extern
  8653.     declaration for it here.
  8654.     [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS,
  8655.     SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH,
  8656.     SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X,
  8657.     SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST,
  8658.     SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST,
  8659.     SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to
  8660.     refer to the_only_screen.
  8661.     * dispnew.c [not MULTI_SCREEN] (one_screen_cursX,
  8662.     one_screen_cursY, one_screen_current_glyphs,
  8663.     one_screen_desired_glyphs, one_screen_temp_glyphs,
  8664.     delayed_screen_width, delayed_screen_height): Variables
  8665.     deleted; they're all now kept in the_only_screen.
  8666.     * xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same
  8667.     fate.
  8668.     * term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height):
  8669.     Variables deleted; same fate.
  8670.     * screen.h [not MULTI_SCREEN]: extern declarations for the above
  8671.     variables removed.
  8672.     * window.c [not MULTI_SCREEN] (root_window): Variable deleted.
  8673.     [not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to
  8674.     refer to the root window, instead of referring to it directly.
  8675.     * window.h [not MULTI_SCREEN] (root_window): extern declaration
  8676.     removed.
  8677.     * scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost,
  8678.     insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same
  8679.     fate.
  8680.  
  8681.     * dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to
  8682.     `one_screen_cursX' and `one_screen_cursY'.
  8683.     * screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X,
  8684.     SCREEN_CURSOR_Y): extern declarations and macros changed
  8685.     accordingly.
  8686.  
  8687.     * term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed
  8688.     to `one_screen_width' and `one_screen_height', so as not to
  8689.     conflict with local variables when referenced by the `SCREEN_foo'
  8690.     macros.
  8691.     * screen.h [not MULTI_SCREEN] (screen_width, screen_height):
  8692.     extern declarations changed accordingly.
  8693.     * termchar.h (screen_width, screen_height): extern declarations
  8694.     deleted.  Everyone should go through the `SCREEN_foo' macros.
  8695.     (SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly.
  8696.  
  8697. Thu Jun 25 21:37:27 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8698.  
  8699.     * callint.c (Fcall_interactively): When making a copy of the spec
  8700.     string, cast the return value of `alloca' to `unsigned char *',
  8701.     not `char *', to match the type of `string'.
  8702.  
  8703.     * xselect.c (Fx_own_selection): Cast XSTRING (string)->data to a
  8704.     char *, so it can be comfortably passed to XStoreBytes.
  8705.  
  8706.     * filelock.c (strcpy): Declare this to return char *.
  8707.  
  8708. Wed Jun 24 01:36:44 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8709.  
  8710.     * dispnew.c (current_glyphs, desired_glyphs, temp_glyphs): Renamed
  8711.     to have the prefix `one_screen_', so that the screen macros can
  8712.     refer to them without conflicting with local variables.
  8713.     * screen.h [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS,
  8714.     SCREEN_DESIRED_GLYPHS, SCREEN_TEMP_GLYPHS): Changed accordingly.
  8715.  
  8716.     * keyboard.c (read_key_sequence): Put the code which restarts the
  8717.     key sequence in a `#ifdef MULTI_SCREEN' conditional.
  8718.  
  8719.     * screen.h [not MULTI_SCREEN]: Added definitions for
  8720.     CHECK_LIVE_SCREEN and SCREEN_FOCUS_SCREEN for the non-multi-screen
  8721.     case.
  8722.  
  8723.     * screen.h [not MULTI_SCREEN]: The name is
  8724.     `SCREEN_MINIBUF_ONLY_P', not `SCREEN_IS_MINIBUF_ONLY'.
  8725.  
  8726.     * xdisp [not MULTI_SCREEN] (Fredraw_display): Removed definition
  8727.     here; the non-multi-screen version is already defined in
  8728.     dispnew.c, alongside the multi-screen version.
  8729.     (syms_of_xdisp): Don't try to defsubr Sredraw_display; it doesn't
  8730.     exist.
  8731.  
  8732.     * lread.c (Fread_char_exclusive): Remove this from the `#ifdef
  8733.     HAVE_X_WINDOWS' conditional; it is appropriate in any context.
  8734.  
  8735.     * eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the
  8736.     protection of a `#ifdef HAVE_X_WINDOWS' conditional.
  8737.  
  8738.         * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook
  8739.     to return the timestamp as an unsigned long, not a lisp_Object.
  8740.     This matches the change made to `struct input_event'.
  8741.     (make_lispy_movement): Change argument TIME to an unsigned long.
  8742.     * xterm.c (XTmouse_position): Change TIME argument to a pointer to
  8743.     an unsigned long.
  8744.     * termhooks.h (mouse_position_hook): Doc fix.
  8745.     * term.c (mouse_position_hook): Doc fix.
  8746.  
  8747.     * termhooks.h (struct input_event): If MULTI_SCREEN is defined,
  8748.     declare the .screen element to be `struct screen *'; otherwise,
  8749.     declare it to be `int'.  See the comment in the file for why I've
  8750.     done this obviously wrong thing.
  8751.  
  8752.     * print.c (printbufidx): Doc fix.
  8753.     * xdisp.c (message_buf_print): Doc fix.
  8754.  
  8755.     * dispextern.h (message_buf_size): Variable deleted; it's no
  8756.     longer used, since the message buffer is always the width of the
  8757.     screen.
  8758.  
  8759.     * screen.h [not MULTI_SCREEN] (message_buf): Add extern
  8760.     declaration for it here.
  8761.     (message_buf_print): Added extern declarations here for both the
  8762.     MULTI_SCREEN and non-MULTI_SCREEN cases.
  8763.     * dispextern.h (message_buf, message_buf_print): Deleted extern
  8764.     declaration for these here.  It should never be used directly; it
  8765.     should always be used through the SCREEN_MESSAGE_BUF macro.
  8766.  
  8767.     * dispnew.c (temp_glyphs): Added back this variable declaration;
  8768.     screen.h and various other places referred to this; where did it
  8769.     go?
  8770.     * screen.h [not MULTI_SCREEN] (temp_glyphs, desired_glyphs,
  8771.     current_glyphs): Add extern declarations for these.
  8772.  
  8773.     * dispnew.c (cancel_my_columns): Use SCREEN_DESIRED_GLYPHS macro,
  8774.     instead of assuming that a SCREEN_PTR is actually a pointer to
  8775.     something; it isn't if we're not using any of the screen support.
  8776.     Remove the variable `screen', and find the value for
  8777.     `desired_glyphs' directly.
  8778.     * xdisp.c (echo_area_display): Use the SCREEN_DESIRED_GLYPHS macro
  8779.     to find screen's desired cursor position, instead of assuming that
  8780.     a SCREEN_PTR is a pointer to something.
  8781.     (display_mode_line): Same.
  8782.     * window.c (Fpos_visible_in_window_p): Use the SCREEN_WIDTH macro.
  8783.     (replace_window): Use the SCREEN_ROOT_WINDOW macro.
  8784.     (window_loop): Use the SCREEN_WIDTH macro.
  8785.  
  8786.     * dispnew.c (update_screen): Enclose the statement which
  8787.     increments `downto' in a `#ifdef HAVE_X_WINDOWS' conditional.
  8788.  
  8789.     * screen.h [MULTI_SCREEN and not MULTI_SCREEN] (FOR_EACH_SCREEN):
  8790.     New macro.
  8791.     * dispnew.c (window_change_signal, do_pending_window_change): Use
  8792.     FOR_EACH_SCREEN instead of assuming that Vscreen_list exists.
  8793.     * window.h (root_window): Added extern declaration for this.
  8794.  
  8795.     * screen.c: Enclose the entire file in a #ifdef MULTI_SCREEN
  8796.     conditional.
  8797.  
  8798.  
  8799. Tue Jun 23 17:47:28 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8800.  
  8801.     * window.c (Fset_window_dedicated_p):
  8802.     Replaces Fset_window_buffer_dedicated.  Second arg just t or nil.
  8803.  
  8804. Mon Jun 22 21:38:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8805.  
  8806.     * syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.)
  8807.     Cast character to unsigned char before indexing.
  8808.  
  8809. Fri Jun 19 02:04:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8810.  
  8811.     * xterm.c (x_wm_set_size_hint): Set size_hints.flags to indicate
  8812.     that we are providing the base_width and base_height data.
  8813.  
  8814.     * xfns.c (Fx_create_screen): Default the internal border width to
  8815.     2; this matches XTerm.
  8816.  
  8817.     * syntax.c (Fparse_partial_sexp): Doc fix.
  8818.  
  8819.     * syntax.c (Fparse_partial_sexp): Added phony argument list to
  8820.     comment containing the docstring for this function, so that
  8821.     make-docfile.c will get the right arguments.
  8822.  
  8823.     * xfns.c (x_set_name): Don't go through the X11 brouhaha to set
  8824.     the name unless we're actually setting it to something different
  8825.     from the current name.
  8826.  
  8827. Thu Jun 18 16:10:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8828.  
  8829.     * eval.c (syms_of_eval): Don't forget to escape the ends of the
  8830.     lines in the docstring for `debug-on-quit'.
  8831.  
  8832.     * keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO
  8833.     argument - set this_command_key_count to zero iff CONTINUE_ECHO is
  8834.     Qnil, not iff it's non-Qnil.
  8835.  
  8836. Wed Jun 17 03:01:55 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8837.     
  8838.     * search.c: Changed to remember the object in which the last
  8839.     search was done, so that markers from match data are placed in
  8840.     that buffer, instead of the current buffer.
  8841.     (search_regs_from_string): Replaced with...
  8842.     (last_thing_searched): This is either Qnil, meaning no searching
  8843.     has been done, Qt, meaning that the last search was done in a
  8844.     string, or a buffer object, meaning that the last search was done
  8845.     in that buffer.
  8846.     (syms_of_search): Initialize and staticpro last_thing_searched.
  8847.     (Flooking_at, search_buffer): Set last_thing_searched to the
  8848.     current buffer.
  8849.     (Fstring_match): Set last_thing_searched to Qt.
  8850.     (Fmatch_data): Test last_thing_searched to see if any searching
  8851.     has been done, and construct integers or markers in the right
  8852.     buffer.  Abort if it's not Qt, Qnil, or a buffer.
  8853.     (Fstore_match_data): Set last_thing_searched according to the
  8854.     things we find in LIST.
  8855.     
  8856. Tue Jun 16 11:20:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8857.  
  8858.     * fns.c (Fload_average): Document the fact that this sometimes
  8859.     returns a list of fewer than three elements, on systems which
  8860.     don't provide 5- and 15-minute load averages.
  8861.  
  8862. Mon Jun 15 00:33:06 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8863.     
  8864.     * xterm.c (XTread_socket): If an event arrives to a screen S,
  8865.     don't attribute them to SCREEN_FOCUS_SCREEN (S) here.  Do that
  8866.     synchronously, when the events are dequeued.  This keeps events
  8867.     from being accidentally routed to the wrong screen, if we
  8868.     temporarily redirect a screen's focus.
  8869.     * keyboard.c (kbd_buffer_store_event): If the character being
  8870.     stuffed is a quit character, do the SCREEN_FOCUS_SCREEN
  8871.     redirection to it here.
  8872.     (kbd_buffer_get_event): And do it here, before returning the
  8873.     event.
  8874.     
  8875.     * eval.c (Finteractive_p): This assumed that if the function in
  8876.     the top frame of the lisp backtrace was not a Lisp_Compiled
  8877.     object, then Finteractive_p must have an explicit frame on the top
  8878.     of the stack, which we could skip.  It didn't bother to follow the
  8879.     symbol function chaining, and it would break if any C code called
  8880.     from a non-compiled function tried to call Finteractive_p anyway.
  8881.     Changed this to actually check if the top frame's effective
  8882.     function is the Lisp_Subr for Finteractive_p.  This also used to
  8883.     skip any number of frames for special forms and/or Fbytecode
  8884.     calls.  Changed this to skip an Fbytecode frame (if present),
  8885.     followed by any number of special form frames.
  8886.  
  8887. Sun Jun 14 18:01:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8888.  
  8889.     * eval.c (struct backtrace): Doc fix.
  8890.  
  8891. Fri Jun 12 05:57:23 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8892.  
  8893.     * m/hp300bsd.h (LOAD_AVE_TYPE): This is long, not double.
  8894.     (LOAD_AVE_CVT): Adjusted as appropriate.
  8895.  
  8896.     * fns.c: Moved lots of system-dependent preprocessor cruft
  8897.     dealing with getting the load average to `getloadavg.c'.
  8898.     (Fload_average): Guts moved to `getloadavg.c'.
  8899.     * getloadavg.c: New file, containing the necessary mess to get the
  8900.     load average on many different systems.  This file is supposed to
  8901.     be Emacs-independent.
  8902.     * ymakefile (obj): Add getloadavg.o to the list.
  8903.     (getloadavg.o): Note that this depends on its source, and config.h.
  8904.  
  8905.     * screen.c (Fdelete_screen): Typo in loop looking for new
  8906.     last_nonminibuf_screen - change    `screen = XCONS (screens)->cdr`
  8907.                                      to    `screens = XCONS (screens)->cdr`
  8908.  
  8909.     * xdisp.c (echo_area_display): Don't neglect to draw all the lines
  8910.     of the minibuffer window (or echo area) when a message is being
  8911.     displayed.  If the minibuffer is more than one line high, they
  8912.     should all be blanked.
  8913.  
  8914. Wed Jun 10 15:41:36 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8915.  
  8916.     * sysdep.c [POSIX_SIGNALS] (sys_signal): Fix typo - rather than
  8917.     calling new_action as if it were a function, call sigaction.
  8918.  
  8919. Tue Jun  9 22:22:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8920.  
  8921.     * lisp.h (Qnumberp, Qnumber_or_marker_p): Declared.
  8922.  
  8923.     * eval.c (wants_debugger): Changed NULL to NILP.
  8924.     Who installed these calls to NULL?
  8925.  
  8926. Tue Jun  9 14:06:48 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8927.  
  8928.     * dispnew.c (Fsit_for): Don't forget to actually set sec from ARG.
  8929.  
  8930.     * termhooks.h (struct input_event): Doc fix - for mouse clicks, .x
  8931.     and .y give the position in characters, not in pixels.
  8932.  
  8933.     * keyboard.c (format_modifiers): Order the modifier letters
  8934.     alphabetically - control, meta, shift, and up.
  8935.  
  8936. Mon Jun  8 21:57:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8937.  
  8938.     * xfns.c: Move some extern decls out of #if 0, to top of file.
  8939.  
  8940. Mon Jun  8 18:24:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8941.  
  8942.     * window.c (Fcoordinates_in_window_p): Docstring fix.
  8943.  
  8944.     * buffer.c (Fother_buffer): Put a comma between arguments BUFFER
  8945.     and VISIBLE_OK in the argument list.  Duh.
  8946.  
  8947.     * screen.c (Fdelete_screen): Remember that s is a SCREEN_PTR *,
  8948.     not a Lisp_Object.
  8949.  
  8950.     * search.c (search_regs): Doc fix.
  8951.     (compile_pattern): Take a new argument - the search register
  8952.     structure - so we can reassure the regex routines that the
  8953.     registers have been allocated.
  8954.     (Flooking_at, Fstring_match, search_buffer): Changed to pass
  8955.     &search_regs to compile_pattern.
  8956.     (search_buffer): When we've searched for a literal string and
  8957.     found it, make sure that the search registers are allocated before
  8958.     stuffing the location of the search into them.
  8959.     (Fstore_match_data): If we need to allocate more registers,
  8960.     allocate them using re_set_registers, instead of just storing the
  8961.     new registers and hoping that regex doesn't free them.
  8962.  
  8963.     * search.c (Freplace_match): Doc fix.
  8964.  
  8965. Sun Jun  7 21:55:17 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8966.  
  8967.     * screen.c (Fdeiconify_screen): Function deleted.
  8968.     It was the same as make-screen-visible.
  8969.  
  8970. Sat Jun  6 21:42:12 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8971.  
  8972.     * keyboard.c: Doc fix.
  8973.  
  8974.     * floatfns.c (Fcbrt): Renamed from Fcube_root, and #if 0'd.
  8975.  
  8976.     * lisp.h (CHECK_NUMBER_OR_FLOAT*): Use Qnumberp or Qnumber_or_marker_p.
  8977.     * data.c (syms_of_data): Staticpro those.
  8978.     (Qinteger_or_float_p, Qinteger_or_float_or_marker_p): Deleted.
  8979.     (Fnumberp, Fnumber_or_marker_p): Define these always,
  8980.     but make them work even if not LISP_FLOAT_TYPE.
  8981.  
  8982. Fri Jun  5 14:33:22 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8983.  
  8984.     * config.h.in: Undefine REL_ALLOC if a system specific file
  8985.     defines SYSTEM_MALLOC.
  8986.  
  8987.     * sysdep.c (save_signal_handlers): Cast result of signal  to
  8988.     avoid compiler warning.
  8989.     * process.c (send_process): Likewise.
  8990.  
  8991. Fri Jun  5 01:57:48 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8992.     
  8993.     * keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO
  8994.     added for the sake of universal-argument.
  8995.     
  8996. Thu Jun  4 01:32:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8997.  
  8998.     * editfns.c (Fset_default_file_mode): Function deleted.
  8999.     (Funix_sync): Moved.
  9000.     * fileio.c (Funix_sync): Moved to here.
  9001.  
  9002.     * xfns.c (Fx_erase_rectangle, Fx_draw_rectangle, Fx_contour_region):
  9003.     (Fx_uncontour_region): #if 0 these.
  9004.     (x_rectangle, outline_region): Likewise.
  9005.     (syms_of_xfns): #if 0 the defsubrs.
  9006.  
  9007.     * dispnew.c (Fsleep_for, Fsit_for): Clean up error messages.
  9008.  
  9009.     * eval.c, print.c, keyboard.c: Doc fix.
  9010.  
  9011.     * xfns.c (Fx_horizontal_line): Disabled, since not documented.
  9012.  
  9013.     * fileio.c (Fdelete_directory): Renamed from Fremove_directory.
  9014.  
  9015.     * unexencap.c: Deinstalled (renamed to =unexencap.c)
  9016.     since awaited papers never arrived.
  9017.  
  9018.     * xfns.c: Doc fix.
  9019.  
  9020. Thu Jun  4 00:30:26 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9021.  
  9022.     * eval.c (stack_trace_on_error, debug_on_error): Made Lisp_Objects V*.
  9023.     (syms_of_eval): Changed DEFVAR_BOOLs to DEFVAR_LISPs.
  9024.     (wants_debugger): New fn.
  9025.     (find_handler_clause): Use it to look in debug-on-error and
  9026.     stack-trace-on-error lists.
  9027.  
  9028. Thu Jun  4 00:17:28 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9029.  
  9030.     * floatfns.c (Fbessel_*, Ferf, Ferfc, Flog_gamma): Turned off;
  9031.     not clearly worth including.
  9032.     (Fasinh, Facosh, Fatanh, Fsinh, Fcosh, Ftanh): Likewise.
  9033.  
  9034. Wed Jun  3 18:43:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9035.  
  9036.     * minibuf.c, keyboard.c: Doc fix.
  9037.  
  9038.     * window.c (Fwindow_at): Fix number of args--minimum 2, max 3.
  9039.  
  9040.     * screen.c: Doc fix.
  9041.  
  9042. Tue Jun  2 22:53:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9043.  
  9044.     * lread.c (Feval_buffer): Don't read any arguments, if interactive.
  9045.  
  9046. Tue Jun  2 00:32:10 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  9047.  
  9048.     * screen.c (make_screen_without_minibuffer): Apply XSCREEN to
  9049.     Vdefault_minibuffer_screen before calling SCREEN_LIVE_P.  The
  9050.     argument to SCREEN_LIVE_P must be a SCREEN_PTR, not a Lisp_Object.
  9051.  
  9052.     * dispnew.c (Fsit_for): This used to compare arg with 0 and return
  9053.     Qt immediately.  It should actually call sit_for anyway, because
  9054.     sit_for needs to test for input and do the redisplay.
  9055.     (sit_for): Compare sec and usec with zero here, after we've
  9056.     looked for input and done a redisplay.
  9057.  
  9058.     * lread.c (Feval_buffer): Use NILP, not NIL_P.
  9059.  
  9060. Mon Jun  1 23:56:11 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  9061.  
  9062.     * buffer.h: New macro, BUF_SET_PT.
  9063.  
  9064.     * lread.c: New subr `eval-buffer', replaces `eval-current-buffer',
  9065.     which is now defined in simple.el.
  9066.  
  9067. Sat May 30 00:05:12 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9068.  
  9069.     * screen.c (Fdelete_screen): If we're deleting the default
  9070.     minibuffer screen, try to find another minibuffer screen.
  9071.  
  9072. Fri May 29 18:58:17 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9073.  
  9074.     * buffer.c (Fother_buffer): New optional argument VISIBLE_OK,
  9075.     indicating that buffers currently visible in windows should not be
  9076.     discriminated against.
  9077.  
  9078. Thu May 28 13:10:38 1992  Ken Raeburn  (raeburn@cygnus.com)
  9079.     
  9080.     * screen.c (Fdelete_screen): Fix bugs in walking screen list.
  9081.     (make_screen_without_minibuffer): Signal an error if the default
  9082.     minibuffer screen is dead.
  9083.     
  9084.     * xfns.c (x_set_name): Use ICCCM-conforming scheme for changing
  9085.     window name in X11.
  9086.     (Fx_create_screen): Likewise.
  9087.  
  9088. Wed May 27 17:33:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9089.  
  9090.     * xselect.c: Support getting and setting the obsolete X cut
  9091.     buffers.
  9092.     (Qcut_buffer0): New atom, denoting the X cut buffer 0.
  9093.     (syms_of_xselect): Initialize and staticpro it.
  9094.     (Fx_own_selection): If TYPE is Qcut_buffer0, interpret this to
  9095.     mean that we should set cut buffer 0 to STRING.
  9096.     (Fx_selection_value): If TYPE is Qcut_buffer0, interpret this to
  9097.     mean that we should retrieve the value of cut buffer 0.
  9098.  
  9099. Thu May 21 00:19:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9100.  
  9101.     * xterm.c (construct_mouse_click): Removed extra assignment of
  9102.     result->timestamp.
  9103.  
  9104.     * keyboard.c (last_event_timestamp): Doc fix.
  9105.     * xselect.c (last_event_timestamp): Declare it extern here.
  9106.     (mouse_timestamp): Variable deleted.  last_event_timestamp is a
  9107.     more accurate thing to use here.
  9108.     (own_selection, get_selection_value): Use last_event_timestamp
  9109.     instead of mouse_timestamp.
  9110.     * keyboard.c (make_lispy_event): Pass the event's timestamp
  9111.     through the make_number function, to assure that it is properly
  9112.     tagged before incorporating it into the lispy event.
  9113.     * xterm.c (construct_mouse_click): The timestamp element of a
  9114.     struct input_event is no longer a Lisp_Object; it is now an
  9115.     unsigned long.  So don't use XSET to assign to it.
  9116.     (XTread_socket): Same here, in processing KeyPress events.
  9117.  
  9118.     * keyboard.c (Fexecute_extended_command): Properly initialize
  9119.     this_command_keys to the concatenation of the sequence that
  9120.     invoked Fexecute_extended_command, the characters making up the
  9121.     name of the command we're running, and a return character.
  9122.     Previously, this code would set it to the last key typed while
  9123.     reading the function name from the minibuffer, followed by the
  9124.     name of the function being run.
  9125.  
  9126. Wed May 20 00:11:36 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9127.  
  9128.     * xterm.c (x_display_box_cursor): Draw the cursor at curs_{x,y},
  9129.     rather than at s->cursor_{x,y}.  If cursor_in_echo_area is set,
  9130.     then s->cursor_{x,y} does not accurately describe the position of
  9131.     the cursor.  However, if we're not updating, then curs_{x,y} are
  9132.     garbage; set them from s->cursor_{x,y}.
  9133.  
  9134.     * dispnew.c (update_screen): Check current_screen->enable and
  9135.     current_screen_used to see if there is any text on the last line,
  9136.     not desired_screen->{enable,used}.  When the line isn't enabled,
  9137.     move to line SCREEN_HEIGHT (s) - 1, not SCREEN_HEIGHT (s).
  9138.     Rearranged conditionals.
  9139.  
  9140.     * dispnew.c (cursor_in_echo_area): Document the interpretations of
  9141.     positive and negative values of this variable.
  9142.  
  9143. Mon May 18 22:04:35 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9144.  
  9145.     * dispnew.c (Fding): If have arg, don't end a keyboard macro.
  9146.  
  9147. Mon May 18 02:37:09 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9148.  
  9149.     * dispnew.c (sit_for): New function, which is a slight
  9150.     generalization of Fsit_for; you can tell it that it's waiting for
  9151.     input, so C-g gets handled properly.
  9152.     (Fsit_for): Call it, instead of replicating all its guts.
  9153.     * keyboard.c (read_char): Call sit_for instead of Fsit_for, and
  9154.     indicate that we're awaiting keyboard input.
  9155.  
  9156.     * dispnew.c (Fsit_for): Rename arguments to match docstring.  Use
  9157.     NILP instead of EQ (foo, Qnil).     If nodisp is non-nil, call
  9158.     wait_reading_process_input with do_display 0, instead of 1; this
  9159.     will inhibit spurious redisplays when process input arrives during
  9160.     a sit-for.
  9161.  
  9162.         * process.c (Faccept_process_output): Pass zero as read_kbd
  9163.     argument to wait_reading_process_input when PROC is nil, not when
  9164.     PROC is non-nil.
  9165.  
  9166.     * process.c (wait_reading_process_input): Declare read_kbd to be a
  9167.     Lisp_Object, and use the tagging to tell the difference between a
  9168.     process object and an integer.
  9169.     * dispnew.c (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Pass
  9170.     read_kbd argument to wait_reading_process_input as a Lisp_Object.
  9171.     * keyboard.c (kbd_buffer_get_event): Same.
  9172.     * process.c (Faccept_process_output, send_process): Same.
  9173.  
  9174.     * keyboard.c (read_char): Use save_getcjmp and restore_getcjmp
  9175.     instead of doing the bcopy explicitly.
  9176.  
  9177.     * xterm.c (XTread_socket): When handling an EnterWindow event,
  9178.     don't bother to check waiting_for_input.  It's not necessary.
  9179.  
  9180.     * keyboard.c (read_char): Don't clear waiting_for_input and
  9181.     input_available_clear_time here.
  9182.     (quit_throw_to_read_char): It's already done here.
  9183.  
  9184.     * keyboard.c (quit_throw_to_read_char): Use
  9185.     clear_waiting_for_input instead of clearing waiting_for_input
  9186.     explicitly.
  9187.  
  9188. Mon May 18 02:37:09 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9189.  
  9190.     * keyboard.c (read_char): Call clear_waiting_for_input instead of
  9191.     clearing waiting_for_input and input_available_clear_time
  9192.     explicitly.
  9193.  
  9194. Fri May 15 17:53:33 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9195.  
  9196.     * ymakefile [defined (__GNUC__) and __GNUC__ > 1]: define
  9197.     YMF_PASS_LDFLAGS so that it can deal with an empty flags argument.
  9198.  
  9199.     * callproc.c (Fcall_process): Under VMS, a nil INFILE argument
  9200.     means to read from "NLA0:", not "/dev/null".
  9201.  
  9202.     * callproc.c (Fcall_process): Use nil as the value for display
  9203.     (the fourth argument) when nargs >= 4, not when nargs >= 3.
  9204.  
  9205. Thu May 14 10:12:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9206.     
  9207.     * termhooks.h: Change timestamp from a Lisp_Object to an unsigned
  9208.         long.
  9209.     * keyboard.c (kbd_buffer_store_event): We don't have to apply the
  9210.         XINT macro to the timestamp member of the event anymore.
  9211.  
  9212.     * process.c (wait_reading_process_output): Don't turn off polling.
  9213.  
  9214.     * sysdep.c (setpgrp_of_tty): Pass the address of pid, not pid
  9215.     itself.
  9216.  
  9217.     * process.c: Deleted cpp tangle for dealing with system-dependent
  9218.     tty handling; #included "systerm.h".
  9219.     * systerm.h: Add some of the things that were done in process.c:
  9220.     If titan is #defined, then we should include <sys/ttyhw.h> and
  9221.     <sys/stream.h> along with the other SYSV pty stuff.
  9222.     If HPUX is #defined, then EMACS_HAVE_TTY_PGRP isn't true.
  9223.     If XENIX is #defined, then we shouldn't try to use TIOCGETC.
  9224.     * ymakefile: Note that process.o depends on systerm.h now.
  9225.  
  9226. Wed May 13 19:02:05 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9227.  
  9228.         * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'.
  9229.  
  9230. Wed May 13 15:12:22 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9231.  
  9232.     * cmds.c (Fforward_line): If the buffer is empty, don't try to see
  9233.     if it contains a newline, and moving nowhere at eob after
  9234.     non-newline should return 1, not 0.
  9235.  
  9236.     * search.c (scan_buffer): Doc fix.
  9237.  
  9238.     * buffer.c (Fbuffer_disable_undo): Accept a buffer name as an
  9239.     argument.
  9240.  
  9241. Tue May 12 23:54:33 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9242.  
  9243.     * fileio.c: Include config.h first thing.    
  9244.     
  9245.     * keyboard.c (clear_input_pending): New subroutine.
  9246.     * process.c (wait_reading_process_input): Make C-g really quit in
  9247.     sit-for case.
  9248.  
  9249.         * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.
  9250.  
  9251. Tue May 12 11:21:24 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9252.  
  9253.     * eval.c (Fapply): Use indirect_function, instead of doing a dumb
  9254.     loop.
  9255.     * keymap.c (get_keymap_1): Same.
  9256.     * macros.c (Fexecute_kbd_macro): Same.
  9257.  
  9258.     * buffer.c (init_buffer_once): Don't disable undos for *scratch*
  9259.     here.  Do it in loadup.el.
  9260.  
  9261.     * buffer.c (init_buffer_once): Doc fix.
  9262.  
  9263.     * doc.c (Fdocumentation): After extracting the doc string from a
  9264.     lambda or autoload expression, don't fall through to the default
  9265.     case and signal an invalid function error; instead, do a `break'.
  9266.  
  9267.     * doc.c (Fdocumentation): Use EQ (x, y) instead of XSYMBOL (x) ==
  9268.     XSYMBOL (y).
  9269.  
  9270.     * doc.c (Fdocumentation): When decyphering a function made from
  9271.     conses, use 'else if' for the chain of alternatives instead of
  9272.     just 'if'.  It used to be that each alternative returned, but
  9273.     that's not true anymore.
  9274.  
  9275.     * alloc.c (Fgarbage_collect): Don't call truncate_undo_list on
  9276.     buffers whose undo list is 't.
  9277.  
  9278.     * doc.c (Fdocumentation): Renamed argument `fun1' to `function',
  9279.     so make-docstring will list argument consistently with the
  9280.     docstring.
  9281.  
  9282. Mon May 11 22:38:45 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  9283.  
  9284.     * xterm.h: Removed definition of `RES_CLASS'.
  9285.  
  9286.     * xfns.c (x_get_arg): Eliminated `screen_name' parameter.  No
  9287.     longer uses screen name as X resource search component.
  9288.     All calls to x_get_arg changed accordingly.
  9289.     Global variable `screen_class' and #define `SCREEN_CLASS' removed.
  9290.  
  9291.     * xterm.c (XTread_socket): Added basic structure for handling
  9292.     various ClientMessage events, using new global variables
  9293.     `Xatom_wm_take_focus', `Xatom_wm_save_yourself',
  9294.     `Xatom_wm_delete_window', `Xatom_wm_configure_denied',
  9295.     `Xatom_wm_moved'.
  9296.     * xfns.c: Declare these variables extern.
  9297.     (syms_of_xfns): Initialize these variables.
  9298.  
  9299.     * xselect.c (Fx_own_selection, Fx_selection_value): New optional
  9300.     parameter `type', to specify the selection type.
  9301.     (syms_of_xselect): New symbols Qprimary, Qsecondary, Qclipboard
  9302.     initialized.
  9303.  
  9304. Mon May 11 15:31:55 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9305.  
  9306.     * data.c (Qcyclic_function_indirection): New error condition.
  9307.     (indirect_function, Findirect_function): New functions.
  9308.     (syms_of_data): Initialize Qcyclic_function_indirection, put the
  9309.     error properties on it, and staticpro it.  Defsubr
  9310.     Findirect_function.
  9311.     * lisp.h (indirect_function, Findirect_function): Declare them here.
  9312.     * callint.c (Fcall_interactively): Get symbol's function by
  9313.     calling indirect_function, instead of just looping.
  9314.     * doc.c (Fdocumentation): Same.
  9315.     * eval.c (Finteractive_p, Fcommandp, do_autoload, Feval,
  9316.     Ffuncall): Same.
  9317.     * keyboard.c (Fcommand_execute): Same.
  9318.  
  9319.     * data.c (Fsymbol_function): Name the argument `symbol' instead of
  9320.     `sym', so make-docstring will list argument consistently with the
  9321.     docstring.
  9322.  
  9323.     * process.c (wait_reading_process_input): Make sure the screen
  9324.     isn't garbaged (and therefore not displayed) before we enter the
  9325.     select and start waiting for input.
  9326.  
  9327.     * keyboard.c: #include <systime.h>.
  9328.     * ymakefile (keyboard.o): This depends on systime.h.
  9329.     * keyboard.c (input_available_clear_word): Replaced with
  9330.     input_available_clear_time, which is a pointer to an EMACSTIME;
  9331.     sometimes the time information is larger than a single word.
  9332.     (read_char): Changed ..._word to ..._time.
  9333.     (input_available_signal): Use the EMACS_SET_SECS_USECS macro to
  9334.     clear *input_available_clear_time, instead of zapping a zero into
  9335.     *input_available_clear_word.
  9336.     (set_waiting_for_input, clear_waiting_for_input): Adjusted
  9337.     appropriately.
  9338.  
  9339. Sun May 10 17:24:29 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9340.  
  9341.     * editfns.c (make_buffer_string): New function.
  9342.     * lisp.h (make_buffer_string): Declare it here.
  9343.     * editfns.c (Fbuffer_substring): Call make_buffer_string instead
  9344.     of writing it out.
  9345.     (Fbuffer_string): Call make_buffer_string instead of make_string,
  9346.     so we can deal with buffer relocations.
  9347.     * minibuf.c (read_minibuf): Same here.
  9348.  
  9349. Sat May  9 14:23:50 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9350.  
  9351.     * syssignal.h (sigunblock): New macro, taken from 18.58's
  9352.     emacssignal.h file.
  9353.     * sysdep.c (request_sigio): Use the sigunblock macro to enable
  9354.     reciept of SIGWINCH, instead of the dysfunctional sigblockx.
  9355.  
  9356. Fri May  8 02:55:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9357.  
  9358.     * search.c: Doc fix.
  9359.  
  9360. Wed May  6 19:50:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9361.  
  9362.     * emacs.c (decode_env_path): If EVARNAME is zero, don't try to
  9363.     call getenv on it.
  9364.     * lread.c (init_lread): When we don't have an environment variable
  9365.     to check, pass 0 instead of the empty string.
  9366.  
  9367.     * alloc.c (Fmake_marker): Use `SIGMASKTYPE' instead of `int'.
  9368.     Instead of calling sigsetmask twice - once to get the mask, and
  9369.     again to restore it - call sigblock, specifying no additional
  9370.     signals.
  9371.  
  9372. Tue May  5 20:56:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9373.  
  9374.     * alloc.c: #include <syssignal.h>, for the sake of the
  9375.     bug-catching code in Fmake_marker.
  9376.     ymakefile: Add dependency.
  9377.  
  9378.     * syssignal.h [not POSIX_SIGNALS] (SIGFULLMASK): New definition,
  9379.     for symmetry with the "defined (POSIX_SIGNALS)" case.
  9380.  
  9381.     * callproc.c (child_setup): Since we always get the environment
  9382.     from Vprocess_environment, don't bother to take the environment
  9383.     the subprocess should inherit as an argument anymore.
  9384.     * process.c (create_process): Don't pass environment as a
  9385.     variable.  Just preserve it across call to fork.
  9386.  
  9387. Mon May  4 17:02:30 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9388.  
  9389.     * floatfns.c: #include <syssignal.h>.
  9390.     (float_error): Use SIGEMPTYMASK instead of zero.
  9391.     
  9392.     * syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a
  9393.     statement expression under GCC, or a function call otherwise.
  9394.     (sigpause, sigblock, sigunblock, sigsetmask): These are now
  9395.     K&R-compatible macros.
  9396.     * systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function
  9397.     the POSIX version of sigmask calls when we're not compiling with
  9398.     GCC.
  9399.     * alloc.c (Fmake_marker): Undo changes of Apr 29.
  9400.     * callproc.c (Fcall_process): Same.
  9401.     * data.c (arith_error): Same.
  9402.     * floatfns.c (float_error): Same.
  9403.     * keyboard.c (gobble_input): Same.
  9404.  
  9405.     * sysdep.c (request_sigio, unrequest_sigio)
  9406.  
  9407. Wed Apr 29 11:05:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9408.  
  9409.     * x11term.h (CLASS): Change this from "emacs" to "Emacs"; class
  9410.     names should always start with an upper-case letter.
  9411.  
  9412.     * syssignal.h: Arranged cpp conditionals so that the specific
  9413.     cases come first, generic cases last.
  9414.  
  9415.     * syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros
  9416.     removed; they require GCC, and Emacs 19 should compile without GCC.
  9417.     (EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK,
  9418.     EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX,
  9419.     EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that
  9420.     don't require GCC, but expand to statements.
  9421.     * callproc.c (Fcall_process): Use new EMACS_SIG* macros from
  9422.     syssignal.h.
  9423.     * keyboard.c (gobble_input): Same.
  9424.     * sysdep.c (request_sigio, unrequest_sigio): Same.
  9425.     * x11term.h (BLOCK_INPUT, UNBLOCK_INPUT): Same.
  9426.     * alloc.c (Fmake_marker): Same.
  9427.     * data.c (arith_error): Same.
  9428.     * floatfns.c (float_error): Same.
  9429.  
  9430. Tue Apr 28 15:04:26 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9431.  
  9432.     * ymakefile: If we're using GCC version 2.0 or later, use "$(CC)
  9433.     -nostdlib" as the linker.  This will allow us to find libgcc.a
  9434.     even when GCC puts it in a really weird place.
  9435.     (YMF_PASS_LDFLAGS): New macro.
  9436.     (temacs): Use it.
  9437.  
  9438.     * s/hpux.h: Doc fix.
  9439.  
  9440.     * filelock.c (egetenv): Declare this.
  9441.     (lock_path, SUPERLOCK_NAME, superlock_path): New variables and
  9442.     macros.
  9443.     (MAKE_LOCK_PATH, lock_file, unlock_file, lock_superlock): Use the
  9444.     variables lock_path and superlock_path instead of the PATH_LOCK
  9445.     and PATH_SUPERLOCK macros.
  9446.     (init_filelock): New function.
  9447.     * emacs.c (main): Call the init_filelock function.
  9448.     * paths.h.in (PATH_SUPERLOCK): Removed.  This is now calculated
  9449.     from PATH_LOCK or from the EMACSLOCKDIR environment variable.
  9450.  
  9451.     * filelock.c (MAKE_LOCK_PATH): New macro.
  9452.     (lock_file, unlock_file, Ffile_locked_p): Use it.
  9453.  
  9454.     * syntax.c (Fmodify_syntax_entry): Note that '-' is a synonym for
  9455.     ' ' (both denote whitespace), that '\\' denotes the escape class,
  9456.     and that '/' denotes the character-quote class.  The description
  9457.     used to claim that '\\' denoted the character-quote class, and
  9458.     neglected to mention '-' and '/'.
  9459.  
  9460.     * filelock.c (lock_file): Doc fix.
  9461.  
  9462. Mon Apr 27 13:28:57 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9463.  
  9464.     * callproc.c (init_callproc): Get the default Vexec_path from the
  9465.     environment variable "EMACSPATH"; get Vdata_directory from
  9466.     "EMACSDATA".
  9467.  
  9468.     * ymakefile: Fix #endif and #else comments.
  9469.  
  9470. Mon Apr 27 13:28:57 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  9471.  
  9472.     * ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM.
  9473.  
  9474.     * ymakefile (paths.h, config.h): Never copy, always fail.
  9475.  
  9476.     * process.c (wait_reading_process_input): Redisplay if screen_garbaged.
  9477.     Call do_pending_window_change first.
  9478.     Include dispextern.h.
  9479.     * ymakefile (process.o): Added dependency.
  9480.  
  9481.     * ymakefile (OLDXMENU_OPTIONS): New macro, used compiling oldxmenu.
  9482.  
  9483. Sat Apr 25 16:10:00 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9484.  
  9485.     * ymakefile: Changed all references to LD_CMD to LINKER, for
  9486.     compatibility with the 18.58 configuration files.
  9487.     * s/aix3-1.h, s/sunos4shr.h: Same here.
  9488.  
  9489.     * ymakefile: Doc fixes.
  9490.  
  9491.     * ymakefile (CC, MAKE): Set these variables from optional macros.
  9492.     Change all uses of `make' to ${MAKE}.
  9493.  
  9494.     * ymakefile: use HAVE_X11 as alias for X11.
  9495.  
  9496.     * ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2.
  9497.  
  9498.     * process.c (allocate_pty): Re-arranged conditionals to put the
  9499.     system-specific-case first, and the generic case in the #else
  9500.     section, for consistency with the rest of Emacs.
  9501.  
  9502.     * process.c (allocate_pty): Wait until we fail to open three ptys
  9503.     in a row before concluding that we've reached the end of the ptys.
  9504.  
  9505. Wed Apr 22 13:40:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9506.  
  9507.     * ralloc.c: #include "getpagesize.h".
  9508.  
  9509.     * search.c (Flooking_at): Use search_regs.num_regs instead of
  9510.     RE_NREGS.  As of regex version 0.4, the compiler allocates the
  9511.     registers, and may allocate more than RE_NREGS.
  9512.     (search_buffer): Same.
  9513.     (Freplace_match): Use search_regs.num_regs to tell how many
  9514.     registers are valid.  Also note that if none are valid, no search
  9515.     has been performed.
  9516.     (match_limit): Same.
  9517.     (Fmatch_data): Same.
  9518.     (Fstore_match_data): If we're trying to store more registers than
  9519.     search_regs has allocated, re-allocate them to make room.
  9520.  
  9521. Tue Apr 21 18:05:52 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9522.  
  9523.  
  9524.     * callproc.c (egetenv): Declare the type of VAR.
  9525.  
  9526.     * lisp.h: Don't undefine NULL.  There is no longer any conflict.
  9527.  
  9528.     * lisp.h (NUMBERP): New macro.
  9529.     * editfns.c (Fformat): Protect the sections that deal with
  9530.     Lisp_Float objects with a "#ifdef LISP_FLOAT_TYPE".
  9531.     * bytecode.c (Fbyte_code): Use the NUMBERP macro instead of
  9532.     explicitly checking for the Lisp_Float tag.
  9533.     * callint.c (Fcall_interactively): Same here.
  9534.  
  9535.     * xrdb.c (magic_searchpath_decoder): Re-allocate string as needed,
  9536.     rather than making it a fixed-size array.
  9537.  
  9538.     * xfns.c (Fx_rebind_key): Don't declare modifier_list to be a
  9539.     register variable.  It's too big, and we need the address of its
  9540.     first element when we pass it to XRebindKeysym anyway.
  9541.  
  9542.     * fileio.c (Fdo_auto_save): Doc fix.
  9543.  
  9544. Mon Apr 20 11:24:22 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9545.  
  9546.     * search.c (search_buffer): Cast RE_EXACTN_VALUE to char, because
  9547.     the regex-0.4 distribution says so.
  9548.  
  9549.     * ymakefile (dired.o): This depends on regex.h.
  9550.  
  9551.     * process.c (wait_reading_process_input): There is code here which
  9552.     sends SIGIO to Emacs if we thought we had input available but
  9553.     didn't get SIGIO.  If the system doesn't have SIGIO, then
  9554.     #ifdef it out.
  9555.  
  9556.     * print.c (Fexternal_debugging_output): Arguments were declared
  9557.     ANSI-style - rewritten in K&R 1 fashion.
  9558.  
  9559.     * floatfns.c (IN_FLOAT): Cast the zero in the `else' clause of the
  9560.     conditional expression to SIGTYPE, to match the type of the
  9561.     float_error call in the `then' clause.
  9562.  
  9563.     * s/hpux8: #define HPUX8; this is supposed to be customary
  9564.     procedure, and fileio.c was expecting it, but somehow it didn't
  9565.     get defined.
  9566.  
  9567.     * sysdep.h: Move inclusions of [AIX] <sys/hft.h>,
  9568.     <sys/devinfo.h>, <sys/pty.h>, <unistd.h> [NEED_BSDTTY]
  9569.     <sys/bsdtty.h>, [HPUX and HAVE_PTYS] <sys/ptyio.h>, [SYSV_PTYS]
  9570.     <sys/tty.h>, <sys/pty.h>, and [pfa] <sys/file.h> to systerm.h;
  9571.     also move undefinition of LLITOUT under BSD4_1 to systerm.h.
  9572.     * systerm.h: They're here.
  9573.  
  9574.     * xterm.c (XTcursor_to, XTclear_end_of_line): Declare to return
  9575.     int in the function definitions as well as their declarations.
  9576.  
  9577. Sun Apr 19 00:46:41 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9578.  
  9579.     * fileio.c (directory_file_name): When checking if the string ends
  9580.     with '/', check that slen is a valid length *before* examining
  9581.     dst[slen-1], not after.
  9582.  
  9583. Sat Apr 18 16:23:17 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9584.  
  9585.     * xterm.c (x_death_handler): New function.
  9586.     (x_error_handler): Call x_death_handler to shut down Emacs.
  9587.     (x_term_init): Use x_death_handler to handle SIGPIPE, instead of
  9588.     x_error_handler, which expects to be passed a display and an
  9589.     event.
  9590.     * process.c (send_process): This used to set a handler to
  9591.     catch SIGPIPEs when writing to a subprocess, and then set the
  9592.     handler to SIGDFL after writing, but this would stomp on the
  9593.     SIGPIPE handler for for the X connection.  So restore the prevous
  9594.     handler instead of changing to SIGDFL.
  9595.  
  9596. Sat Apr 18 11:59:13 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9597.  
  9598.     * indent.c (compute_motion): Fix skipping invis lines and
  9599.     truncation at right margin.
  9600.  
  9601. Fri Apr 17 02:22:28 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9602.  
  9603.     * s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name,
  9604.     not ptyname. 
  9605.     * s/rtu.h: Same.
  9606.  
  9607.     * process.c (pty_process): Add 'int' to the declaration 'static
  9608.     pty_processes;'.  This makes it a happy declaration even when
  9609.     static has been #defined as the empty string.
  9610.     * xterm.c (XTcursor_to, XTclear_end_of_line): Same.
  9611.  
  9612.     * unexec.c (sbrk): Declare this to return void * if __STDC__ is
  9613.     defined, or char * otherwise.
  9614.  
  9615.     * lread.c init_lread): Re-cleaned logic.  To determine whether the
  9616.     load path was changed before dumping, cons up a dump path and
  9617.     compare it.  This method is more localized and accurate.
  9618.     (initial_path): Variable removed.
  9619.     (syms_of_lread): Don't staticpro.
  9620.  
  9621.     * floatfns.c (float_error): Declare and define this to return
  9622.     SIGTYPE.
  9623.  
  9624.     * systime.h [HAVE_TIMEVAL] (EMACS_GET_TIME): Declare dummy to be a
  9625.     real struct timezone, instead of an EMACS_TIME.  Since
  9626.     HAVE_TIMEVAL is defined, struct timezone ought to be declared, so
  9627.     there's no harm in passing the genuine article.
  9628.  
  9629.     * sysdep.c [USG] (rename): Place under the protection of a new
  9630.     preprocessor symbol, HAVE_RENAME.
  9631.     * s/hpux.h (HAVE_RENAME): Defined.
  9632.  
  9633.     * sysdep.c [USG] (setpriority): Declare to return int, not void.
  9634.  
  9635.     * s/template.h: Add template section for HAVE_TERMIOS.
  9636.  
  9637.     * term.c (cursor_to, raw_cursor_to, fatal): Do declare the types
  9638.     of the arguments.
  9639.  
  9640. Wed Apr 15 01:33:08 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9641.  
  9642.     * callint.c (Fcall_interactively): When the interactive spec is
  9643.     a string, it may be relocated while reading the arguments.  To
  9644.     avoid this, make a copy of the spec to refer to, instead of
  9645.     using a pointer to the data of the spec string.
  9646.  
  9647.     * callint.c (Fcall_interactively): When following the function
  9648.     chain of a symbol, check for quits.
  9649.  
  9650. Mon Apr 13 14:48:13 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9651.  
  9652.     * lread.c (init_lread): Make the load path default to
  9653.     PATH_LOADSEARCH when we're not dumping (null purify-flag), and
  9654.     PATH_DUMPLOADSEARCH when we are (not (null (purify-flag))).
  9655.     Change from April 7th incorrectly always used PATH_DUMPLOADSEARCH.
  9656.  
  9657.     * lread.c (init_lread): Cleaned up logic; to determine whether the
  9658.     load path was changed before dumping, remember the initial value
  9659.     and compare against it.
  9660.     (initial_path): New variable to support this.
  9661.     (syms_of_lread): staticpro initial_path.
  9662.  
  9663.     * ymakefile: Renamed filenames like "*-dist" to "*.in".
  9664.  
  9665.     * config.h.in: Doc fixes.
  9666.  
  9667. Sat Apr 11 15:54:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9668.  
  9669.     * config.h-dist: Renamed to config.h.in, for consistency with
  9670.     the installation conventions of other GNU programs.
  9671.     * paths.h-dist: Renamed to paths.h.in.
  9672.  
  9673. Sat Apr 11 00:01:36 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  9674.  
  9675.     * termcap.c: Declare getenv.
  9676.  
  9677. Wed Apr  8 00:57:47 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9678.  
  9679.     * Makefile: Renamed to Makefile.in; the configure script will edit
  9680.     this to produce Makefile.
  9681.  
  9682. Tue Apr  7 23:22:59 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9683.  
  9684.     * paths.h-dist (PATH_DUMPLOADSEARCH): New macro.
  9685.     * lread.c (init_lread): If we're building an Emacs to be dumped,
  9686.     use PATH_DUMPLOADSEARCH as the default load path, so we can
  9687.     correctly find our lisp files.
  9688.  
  9689.     * config.h-dist, paths.h-dist: Added "-*- C -*-" to top lines, so
  9690.     Emacs will know that these are really C source.
  9691.  
  9692. Fri Apr  3 22:33:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9693.  
  9694.     * search.c (syms_of_search): When allocating memory
  9695.     searchbuf.buffer, cast the return value of malloc to unsigned char
  9696.     *, not char *; this changed in the most recent version of the
  9697.     regex code.
  9698.  
  9699. Tue Mar 31 10:33:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9700.  
  9701.     * doc.c (Fdocumentation): Don't forget to end each line of the
  9702.     docstring with "\n\".
  9703.  
  9704.     * process.c (Fprocess_connection): Change "#ifdef 0" around this
  9705.     function to "#if 0".
  9706.  
  9707.     * eval.c (Flet, FletX): Signal an error if one of the let's binding
  9708.     clauses has more than one value form, as in (let ((a 1 2)) a).
  9709.  
  9710.     * eval.c (Ffuncall): Re-install change of March 10; I don't know
  9711.     why it went away.
  9712.  
  9713.     * search.c (compile_pattern): Declare the variable which holds the
  9714.     return value of re_compile_pattern to be const, if this is ANSI C.
  9715.  
  9716.     * alloc.c (xrealloc): Change "ese" to "else".
  9717.  
  9718.     * crt0.c (start1) [sun_soft]: Change 'jst' to 'jsr'.  The Sun
  9719.     assembly language manual doesn't list any 'jst' instruction, I
  9720.     don't know of one personally, and all the analogous code
  9721.     around it uses 'jsr'.
  9722.  
  9723.     * crt0.c [m68k]: Merged with GNU C Library's version: added
  9724.     conditionals for sun_68881, sun_fpa, sun_soft.
  9725.  
  9726.     * config.h-dist: Adjusted for renaming of share-lib to etc.
  9727.     * lread.c (read1): Same.
  9728.     * doc.c (Fdocumentation_property, Fsnarf_documentation): Same.
  9729.     * ymakefile: Same.
  9730.  
  9731. Mon Mar 30 23:03:49 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9732.  
  9733.     * crt0.c: Merged changes from 18.58:
  9734.     [hp9000s300]: Set flag_fpa.  Define float_loc.
  9735.     [new hp assembler]: Double flag_fpa and flag_68881 if %d2!=0.
  9736.     (start1): Declare to be static at the top of the file.
  9737.     (_start): Removed static declaration in this function; since
  9738.     everyone wants it, we'll just put it here.
  9739.  
  9740. Fri Mar 20 15:42:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9741.  
  9742.     * fileio.c (Finsert_file_contents): Allow quitting from I/O.
  9743.     (Fcopy_file): Likewise.
  9744.  
  9745. Fri Mar 20 00:59:06 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9746.  
  9747.     * m-intel386.h (HAVE_ALLOCA): Inhibit if C_ALLOCA.
  9748.     (LIB_STANDARD): Alternate USG value if __GNUC__ or C_ALLOCA
  9749.  
  9750.     * alloc.c (xrealloc): If handed a NULL pointer for the block to
  9751.     resize, malloc a new block and return that.  Not all reallocs do
  9752.     this.
  9753.  
  9754.     * m/elxsi.h: Doc fix.
  9755.  
  9756. Wed Mar 18 13:59:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9757.  
  9758.     * dispnew.c (Fsleep_for): Call wait_reading_process_input, whether
  9759.     or not we have process support; let the emulator do the work.
  9760.     * emacs.c (fatal_error_signal, Fkill_emacs): Call
  9761.     kill_buffer_processes even when subprocesses is not #defined; we
  9762.     have a stub.
  9763.  
  9764.     * process.c [not defined (subprocesses)] (Fget_buffer_process,
  9765.     init_process, syms_of_process): New stub versions of these functions.
  9766.     * emacs.c (main): Call init_process and syms_of_process whether or
  9767.     not subprocesses is #defined.
  9768.     * xdisp.c (decode_mode_spec): Call Fget_buffer_process whether or
  9769.     not subprocesses is #defined.
  9770.  
  9771. Tue Mar 17 16:31:12 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9772.  
  9773.     * keyboard.c (kbd_buffer_get_event): Call
  9774.     wait_reading_process_input, even when subprocesses is not
  9775.     #defined, instead of doing a whole lot of hairy SIGIO-pausing
  9776.     stuff.
  9777.     * dispnew.c (Fsit_for): Call wait_reading_process_input, whether
  9778.     or not subprocesses is #defined.
  9779.  
  9780.     * process.c (wait_reading_process_input): Since we're no longer
  9781.     checking for exceptional conditions in the call to select, all of
  9782.     the different ways to call select for different systems have
  9783.     become the same; remove the #if conditionals around this.
  9784.  
  9785.     * keyboard.c (read_char): When returning quit_char because we got
  9786.     an interrupt signal, claim that the character came from the
  9787.     currently selected screen.
  9788.  
  9789. Mon Mar 16 18:03:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9790.  
  9791.     * callproc.c (Fcall_process): Doc fix.
  9792.  
  9793.     * process.c [not defined (subprocesses)] (kill_buffer_processes):
  9794.     New dummy version of this function.
  9795.     * buffer.c (Fkill_buffer): Removed '#ifdef subprocesses'
  9796.     protection from the call to kill_buffer_processes; this is safe
  9797.     whether or not we actually have subprocesses.
  9798.  
  9799. Sat Mar 14 15:39:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9800.  
  9801.     * m/pfa50.h: New file.
  9802.     * process.c (create_process, process_send_signal): Added changes
  9803.     for m/pfa50.h.
  9804.     * sysdep.c: same.
  9805.     * unexec.c: same.
  9806.  
  9807. Sat Mar 14 14:25:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9808.  
  9809.     * callproc.c (child_setup): Always put the child in its own
  9810.     process group.
  9811.  
  9812. Fri Mar 13 11:17:33 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9813.  
  9814.     * mem_limits.h (POINTER): Doc fix.
  9815.  
  9816.     * ralloc.c: Don't #include lisp.h and xterm.h; we no longer need
  9817.     to block input in critical sections.
  9818.     (r_alloc, r_alloc_free, r_re_alloc): Don't use BLOCK_INPUT and
  9819.     UNBLOCK_INPUT; these are no longer needed.
  9820.     (struct bp): Doc fix.
  9821.  
  9822. Wed Mar 11 03:07:16 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9823.  
  9824.     * ralloc.c (obtain): When deciding how many pages to request, take
  9825.     into account the amount of spare bytes at the end of the current
  9826.     page; let get be ROUNDUP (size - already_available), instead of
  9827.     ROUNDUP (size).
  9828.     (relinquish): Re-organized for clarity.
  9829.  
  9830.     * editfns.c (Fcurrent_time): Updated to return the current time's
  9831.     seconds split into two 16-bit integers (similar to the system used
  9832.     by file-attributes), and the milliseconds.
  9833.  
  9834. Tue Mar 10 18:12:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9835.  
  9836.     * process.c (Faccept_process_output): Add new optional argument
  9837.     TIMEOUT-MSECS, and return non-nil iff we actually got some input
  9838.     from the process(es).
  9839.     (wait_reading_process_input): Make return value indicate whether
  9840.     we got some input from the specified process, when read_kbd is a
  9841.     process, or from any process when read_kbd isn't particular.
  9842.  
  9843.     * indent.c (Fmove_to_column): Pass the correct number of arguments
  9844.     to Findent_to.
  9845.  
  9846.     * eval.c (Ffuncall): If a subr is asking for too many arguments,
  9847.     abort instead of printing an error message; this is an internal
  9848.     flaw in Emacs, and the subr cannot be called.
  9849.  
  9850. Fri Mar  6 19:46:24 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9851.  
  9852.     * doc.c (Fdocumentation, Fdocumentation_property): Take optional
  9853.     new arg to not pass results thru substitute-command-keys.
  9854.  
  9855. Thu Mar  5 12:01:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9856.  
  9857.     * unexmips.c (unexec): When setting up the data_section header,
  9858.     calculate the size of the section as "brk - data_start," not "brk
  9859.     - DATA_START".
  9860.  
  9861. Sun Feb 23 00:34:42 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9862.  
  9863.     * fileio.c: #include "systime.h".
  9864.     (Fcopy_file): Use the systime.h macros to copy the time to the new
  9865.     file.
  9866.     * ymakefile: Note that fileio.o depends on systime.h.
  9867.  
  9868.     * ymakefile (dispnew.o): Note that this depends on systerm.h and
  9869.     systime.h.
  9870.     (editfns.o, xterm.o, sysdep.o): Note that this depends on
  9871.     systime.h.
  9872.     (emacs.o, keyboard.o, process.o, sysdep.o): Note that these depend
  9873.     on systerm.h.
  9874.  
  9875.     * systerm.h: Expanded to handle getting and setting terminal
  9876.     parameters:
  9877.     (struct emacs_tty): New structure, which consolidates all of the
  9878.     old tty parameter structures.
  9879.     (EMACS_GET_TTY, EMACS_SET_TTY, EMACS_TTY_TABS_OK): New macros.
  9880.     * sysdep.c (TABS_OK): Definitions of this macro removed;
  9881.     EMACS_TTY_TABS_OK replaces it.
  9882.     (TERMINAL): Definitions removed; now we use struct emacs_tty.
  9883.     [VMS] (input_chan): Renamed to...
  9884.     (input_fd): and defined even when VMS isn't; in that case, we
  9885.     leave it initialized to zero, which is the input tty.  This allows
  9886.     us to use the EMACS_GET_TTY and EMACS_SET_TTY for both VMS and
  9887.     Unix.
  9888.     (discard_tty_input): Use struct emacs_tty and its macros instead
  9889.     of TERMINAL.  Replace some of conditional with a call to
  9890.     EMACS_GET_TTY.
  9891.     (child_setup_tty): Use struct emacs_tty and its macros instead of
  9892.     TERMINAL and conditionals.
  9893.     (old_gtty, old_ltchars, old_tchars, old_lmode): Replaced by...
  9894.     (old_tty): New variable.
  9895.     (lmode): Made conditional on BSD4_1, since it's only used by the
  9896.     BSD4_1 support code now.
  9897.     (init_sys_modes): Define tty to be a struct emacs_tty, not a
  9898.     TERMINAL.  Use macros to get and set parameters for VMS and
  9899.     Unices. Set lmode, tchars, and ltchars along with the rest of the
  9900.     tty state.
  9901.     (tabs_safe_p): Use EMACS_GET_TTY and EMACS_TTY_TABS_OK instead of
  9902.     conditionals.
  9903.     (reset_sys_modes): Use EMACS_SET_TTY to restore the settings from
  9904.     old_tty, instead of using hairy conditionals.
  9905.  
  9906.     * sysdep.c (get_screen_size): Neatened; now each system of
  9907.     reporting the screen size is separated from the rest.
  9908.     
  9909.     * systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP,
  9910.     EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current
  9911.     process group.
  9912.     * sysdep.c (setpgrp_of_tty): Use the above, instead of
  9913.     conditionals.
  9914.  
  9915.     * sysdep.c: #include "systerm.h".
  9916.     #ifs that choose #include files moved from here...
  9917.     * systerm.h: to here.
  9918.  
  9919.     * sysdep.c [APOLLO]: We now undefine TIOCSTART not here but...
  9920.     * systerm.h: here.
  9921.  
  9922.     * sysdep.c [BROKEN_TIOCGETC]: We now undefine TIOCGETC not here but...
  9923.     * systerm.h: here.
  9924.  
  9925.     * sysdep.c [BROKEN_FIONREAD]: We now undefine FIONREAD and FASYNC
  9926.     not here but...
  9927.     * systerm.h: here.
  9928.  
  9929.     * process.c (process_send_signal): Steal 18.58's version of this,
  9930.     but incorporate the support for VMS signals.
  9931.         
  9932.     * syssignal.h (EMACS_KILLPG): New macro.
  9933.     * process.c (process_send_signal): Use it.
  9934.     * sysdep.c (sys_suspend): Use it.
  9935.  
  9936.     * syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define
  9937.     SIGCHLD as an alias for SIGCLD.
  9938.     * sysdep.c: Remove code for above.
  9939.  
  9940.     * sysdep.c (init_baud_rate): Rather than trying to maintain the
  9941.     illusion of an abstraction with the OSPEED and SETOSPEED macros,
  9942.     just use conditionalized code for each terminal kind.  This is the
  9943.     only place we ever need this functionality.
  9944.     (OSPEED, SETOSPEED): Definitions removed.
  9945.  
  9946. Sat Feb 22 15:40:12 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9947.  
  9948.     * sysdep.c: Moved definition of sigunblock macro to ...
  9949.     * syssignal.h: Here.
  9950.  
  9951.     * hftctl.c: #include <sys/uio.h> before #including <sys/tty.h>.
  9952.     (hfqry, hfskbd): Declare these functions as static before all uses.
  9953.     * unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym):
  9954.     Declare as static before all uses.
  9955.     Remove extraneous semicolons from #ifdefs of COFF and XCOFF
  9956.     (unrelocate_symbols): cast the initializers of t_start and d_start
  9957.     to ulong.
  9958.  
  9959.     * s/template.h: Include a clause for the HAVE_TERMIO flag.
  9960.  
  9961. Fri Feb 21 00:23:28 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9962.  
  9963.     * keyboard.c (read_char): Don't clear Vquit_flag when we catch an
  9964.     interrupt and return a quit_char; this change (Mar 21 1991) is too
  9965.     large a change in functionality for the cleanliness it gains.
  9966.  
  9967.     * pwd.h: Renamed to vms-pwd.h, so that we don't get it by accident
  9968.     when we #include <pwd.h> with the `-I.' flag given to the
  9969.     compiler.
  9970.     * editfns.c [VMS]: Changed to include vms-pwd.h instead of pwd.h.
  9971.     * fileio.c [VMS]: Same.
  9972.     * filelock.c [VMS]: Same.
  9973.     * sysdep.c [VMS]: Same.
  9974.  
  9975.     * xrdb.c: Changed to #include "vms-pwd.h" if VMS is defined,
  9976.     instead of including <pwd.h> unconditionally.
  9977.  
  9978.     * window.c (Fset_window_display_table): Rearranged to make etags
  9979.     happy.
  9980.  
  9981.     * xterm.c (XTread_socket): Clear the meta flag from the keypress
  9982.     event before handing it to XLookupString.
  9983.  
  9984. Thu Feb 20 23:05:03 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9985.  
  9986.     * sysdep.c: No need to test #ifdef TIOCGETP before #undefing it.
  9987.  
  9988. Wed Feb 19 10:05:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9989.  
  9990.     * systime.h: New file.
  9991.     * dispnew.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  9992.     whichever is appropriate, instead of using a conditional.
  9993.     (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h
  9994.     macros instead of HAVE_TIMEVAL conditionals.
  9995.     * editfns.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  9996.     whichever is appropriate, instead of using a conditional.
  9997.     * fileio.c: Same.
  9998.     * process.c: Same.
  9999.     * xterm.c: Same.
  10000.     (wait_reading_process_input): Use the systime.h macros.
  10001.     * sysdep.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  10002.     whichever is appropriate, instead of using a conditional.
  10003.  
  10004.     * m/template.h: Add description of NO_SOCK_SIGIO.
  10005.  
  10006.     * sysdep.c (reset_sys_modes): Doc fix.
  10007.  
  10008.     * keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx,
  10009.     sigpausex): Definitions moved to syssignal.h.
  10010.  
  10011.     * dispnew.c: Doc fix.
  10012.  
  10013.     * systerm.h: New file, to consolidate the system-dependent
  10014.     terminal-handling trash.
  10015.     * emacs.c: #include systerm.h.
  10016.     (main): Use systerm.h macros instead of conditionals.
  10017.     * dispnew.c: #include systerm.h.
  10018.     (update_screen): Use EMACS_OUTQSIZE instead of the direct ioctl.
  10019.     * keyboard.c: #include systerm.h to get the proper FIONREAD header
  10020.     files, instead of using conditional.
  10021.  
  10022.     * syssignal.h: Added copyright notice.
  10023.  
  10024.     * emacssignal.h: Renamed to syssignal.h, to be like sysdep.c.
  10025.     * data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed
  10026.     #include directives.
  10027.  
  10028. Sat Feb 15 16:44:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10029.  
  10030.     * m/intel386.h: Don't bother casting the argument to the signal
  10031.     function; the SIGTYPE code in config.emacs ought to take care of
  10032.     this.
  10033.  
  10034.     * buffer.c (record_buffer): Doc fix.
  10035.  
  10036. Thu Feb 13 20:57:43 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10037.  
  10038.     * s/iris3-6.h: #define HAVE_GETWD.
  10039.  
  10040. Tue Feb 11 14:59:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10041.  
  10042.     * window.c (Fwindow_at): Accept position as two arguments, not a
  10043.     cons of numbers.
  10044.  
  10045.     * window.c (scroll_command): Undo the Jan 31 change; do set the
  10046.     current buffer to the selected window's buffer.  A simple
  10047.     set-buffer will make these two different.
  10048.  
  10049. Mon Feb 10 01:55:45 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10050.  
  10051.     * callproc.c (Fcall_process): Clear synch_process_death and
  10052.     synch_process_retcode to zero before forking the process.
  10053.  
  10054.     * process.c (synch_process_death, synch_process_retcode): Don't
  10055.     declare them extern here.
  10056.     * process.h (synch_process_death, synch_process_retcode): Declare
  10057.     them extern here, along with synch_process_alive.
  10058.  
  10059.     * s/hpux.h: Define CLASH_DETECTION.
  10060.  
  10061.     * window.c (init_window_once): Don't pass any arguments to
  10062.     make_window.
  10063.  
  10064.     * keyboard.c (command_loop_1): Move the label directly_done out of
  10065.     the else block to just after the else block.  This shouldn't
  10066.     change the semantics of the code, but appears to avoid a compiler
  10067.     bug on SCO Unix V.3.2v2.
  10068.  
  10069.     * fileio.c (Fset_umask, Fumask): New functions.
  10070.     (syms_of_fileio): defsubr them.
  10071.  
  10072.     * undo.c (Fprimitive_undo): When undoing a deletion with the point
  10073.     before the deleted text, use Finsert_before_markers so that the
  10074.     mark will end up on the other side of the text, if it's in the
  10075.     area at all.
  10076.  
  10077.     * xdisp.c (redisplay): Properly compute TAB_OFFSET for compute_motion.
  10078.  
  10079.     * keyboard.c (command_loop_1): Don't check whether cursor is at
  10080.     edge of screen here.
  10081.     * dispnew.c (direct_output_forward_char): Check here, and return
  10082.     zero if it can't be done.  And compare the cursor position to the
  10083.     window boundaries, not the screen boundaries.
  10084.  
  10085. Wed Feb  5 15:34:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10086.  
  10087.     * screen.c (Fscreen_parameters): If the screen has a minibuffer
  10088.     window on another screen, return the window, instead of nil.
  10089.     (store_screen_param): If the value of the minibuffer parameter is
  10090.     a window, try to make it the surrogate minibuffer window.
  10091.     (Qminibuffer): New variable, to support above change.
  10092.     (syms_of_screen): initialize and staticpro it.
  10093.  
  10094.     * m/tad68k.h: New file.
  10095.  
  10096.     * fileio.c (Ffile_accessible_directory_p): New function.
  10097.     (syms_of_fileio): defsubr it.
  10098.     * callproc.c: #include <errno.h>.
  10099.     (child_setup):  Accept yet another argument, current_dir.
  10100.     Don't try to report an error here if current_dir is inaccessible;
  10101.     this function is called in a vforking process.  Just have the
  10102.     process exit with an error code.
  10103.     (Fcall_process): Make sure that the current directory is okay
  10104.     here, before we fork.  Pass the current_dir argument.
  10105.     * process.c (create_process): Same here.
  10106.  
  10107.     * callproc.c (Fcall_process): Don't assign into args[1] when nargs
  10108.     < 2.  Instead, use a new variable called infile.  Re-arranged
  10109.     logic which processes the BUFFER argument.
  10110.  
  10111. Mon Feb  3 20:09:39 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10112.  
  10113.     * fileio.c (Fexpand_file_name): Doc fix.
  10114.  
  10115.     * scroll.c (line_ins_del): Since we're calculating the array from
  10116.     end to beginning, make the indices go that way, and thus clearly
  10117.     get the right boundary.  This used to ignore the [0] element, and
  10118.     write in the [screen_height] element, which doesn't exist.
  10119.  
  10120. Mon Feb  3 16:41:45 1992  Richard Stallman  (rms at mole.ai.mit.edu)
  10121.  
  10122.     * xdisp.c (redisplay, try_window_id): Special case for change
  10123.     at beginning of line, if using selective display.
  10124.  
  10125. Fri Jan 31 14:36:47 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10126.  
  10127.     * m/delta88k.h: Added USUAL-OPSYS information, for the
  10128.     config.emacs script to use.
  10129.  
  10130.     * window.c (scroll_command): Don't bother setting the current
  10131.     buffer to the selected window's buffer; this should always already
  10132.     be the case.  Add check just in case.
  10133.  
  10134.     * indent.c (compute_motion): Don't pack vpos and hpos into one int;
  10135.     use separate variables hpos/vpos and prev_hpos/prev_vpos.
  10136.     (vmotion): Use largest int as tovpos arg to compute_motion.
  10137.  
  10138. Thu Jan 30 11:45:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10139.  
  10140.     * window.c: #include "keyboard.h" to get the Qmode_line and
  10141.     Qvertical_split declarations.
  10142.     * ymakefile (window.o): Note that this depends on keyboard.h.
  10143.  
  10144.     * callproc.c (getenv_internal): Cast the pointer to the variable's
  10145.     value to a char *; elisp strings are unsigned char *'s.  And
  10146.     valuelen is an int *, not an int **.
  10147.  
  10148.     * scroll.c (do_scrolling): Document meaning of enable flag in
  10149.     temp_screen.
  10150.  
  10151. Thu Jan 30 01:44:47 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10152.  
  10153.         * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted.
  10154.  
  10155. Wed Jan 29 14:37:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10156.  
  10157.     * m-iris4d.h (C_SWITCH_MACHINE): New definition.
  10158.  
  10159. Tue Jan 28 11:03:05 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10160.  
  10161.     * term.c: #include "keyboard.h", for Vfunction_key_map.
  10162.     * keyboard.h: Declare Vfunction_key_map.
  10163.  
  10164.     * keyboard.h: New file, for external declarations used in
  10165.     processing keyboard input and events.
  10166.     * lisp.h (Qmode_line, Qvertical_split, num_input_chars,
  10167.     poll_suppress_count): Extern declarations moved to keyboard.h.
  10168.     * keyboard.c: #include "keyboard.h".
  10169.     (Qvscrollbar_par, Qvslider_part, Qvthumbup_part,
  10170.     Qvthumbdown_part, Qhscrollbar_part, Qhslider_part,
  10171.     Qhthumbleft_part, Qhthumbright_part): Moved declarations here from
  10172.     xfns.c, so they're with the other event heading symbols.
  10173.     * eval.c: #include "keyboard.h".
  10174.     * ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o):
  10175.     Note that these depend on keyboard.h.
  10176.  
  10177.     * xfns.c: The above symbols aren't here any more.  #include
  10178.     "keyboard.h" to get them.
  10179.     (syms_of_xfns): Don't initialize or staticpro them.
  10180.     * keyboard.h: Added extern declarations for the above.
  10181.     * callint.c: #include "keyboard.h".
  10182.  
  10183.     * xfns.c (Vmouse_screen_part): Variable removed, no longer used.
  10184.     (syms_of_xfns): Changed accordingly.
  10185.  
  10186.     * xterm.c (Qmouse_moved): Variable removed, no longer used.
  10187.     (Qmouse_click, Qscrollbar_click): Removed.  These are now event
  10188.     types, in keyboard.c and keyboard.h; they're no longer used in
  10189.     this way.
  10190.     (Vmouse_window, Vmouse_screen_part): Extern declarations removed.
  10191.     (XTread_socket): Don't assign to Vmouse_window or
  10192.     Vmouse_screen_part.
  10193.     (syms_of_xterm): Changed accordingly.
  10194.  
  10195.     * keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW,
  10196.     EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN,
  10197.     EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New
  10198.     macros to recognize and access events that have parameters, like
  10199.     mouse events.
  10200.     * keyboard.c (read_char, echo_char, Fmouse_click_p,
  10201.     read_key_sequence): Use them.
  10202.     * keymap.c: #include "keyboard.h".
  10203.     (access_keymap, store_in_keymap, Fsingle_key_description): Use the
  10204.     macros from keyboard.h.
  10205.  
  10206.     * keyboard.c (Qevent_kind): New symbol, naming the property of an event
  10207.     header where we put the event's type.
  10208.     (Qfunction_key, Qmouse_click, Qscrollbar_click): New symbols, used
  10209.     to tag different kinds of events.
  10210.     (Qevent_unmodified): New symbol, naming the property
  10211.     of an event header where we put an unmodified version of the event
  10212.     header.
  10213.     (modify_event_symbol): Take a new argument, SYMBOL_KIND, whose
  10214.     value should be put on the Qevent_kind property of each symbol we
  10215.     make.  Set the Qevent_unmodified property of each symbol we make.
  10216.     (make_lispy_event): Pass the appropriate SYMBOL_KIND argument to
  10217.     modify_event_symbol.
  10218.     (struct event_head, head_table): New tables, to simplify the
  10219.     initialization of some of the event heads.
  10220.     (syms_of_keyboard): Initialize and staticpro the symbols given in
  10221.     head_table, and put the Qevent_kind and Qevent_unmodified
  10222.     properties on them.  Initialize all of the new symbols listed
  10223.     above.
  10224.  
  10225.     * keyboard.c (lispy_function_keys, lispy_mouse_names): Renamed
  10226.     these from function_key_names and mouse_names, and moved them
  10227.     outside of make_lispy_event, since static doesn't work on all
  10228.     systems, and these can't be automatic.
  10229.  
  10230. Tue Jan 28 00:46:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10231.  
  10232.     * fileio.c (Fwrite_region): Remove Alliant conditional.
  10233.     * crt0.c: Conditionals for ALLIANT_2800.
  10234.     * m/alliant-2800.h: New file.
  10235.     * unexfx2800.c: New file.
  10236.  
  10237.     * m-mips4.h (C_DEBUG_SWITCH): Alternate defn for GCC.
  10238.  
  10239.     * sysdep.c [VMS] (sys_write): Special case for fixed-length
  10240.     with carriage-control characters.
  10241.  
  10242.     * s/isc2-2.h (NOMULTIPLEJOBS): Undef this.
  10243.     (LIB_STANDARD): Add -lPW.
  10244.     (LIBS_SYSTEM): Defined.
  10245.     * m/intel386.h (signal): Optionally don't define it.
  10246.  
  10247. Mon Jan 27 17:53:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10248.  
  10249.     * s/template.h: Document the SIGTYPE macro.
  10250.     * s/bsd4-3.h: Define the SIGTYPE macro.
  10251.  
  10252.     * data.c (Fsymbol_value): Extract all the innards of this function
  10253.     into find_symbol_value, except the code which signals an error.
  10254.     (find_symbol_value): New function.
  10255.     * lisp.h (find_symbol_value): Declare it.
  10256.     * keymap.c (current_minor_maps): Use it, instead of a call to
  10257.     Fboundp and Fsymbol_value per every minor map, for every key
  10258.     sequence read.
  10259.  
  10260.     * xterm.c (x_make_screen_visible): Don't raise the window.  This
  10261.     causes the window to pop to the front every time a message
  10262.     appears, which isn't desirable.
  10263.  
  10264.     * screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position,
  10265.     Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
  10266.     Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters,
  10267.     Fset_screen_height, Fset_screen_width, Fset_screen_size,
  10268.     Fset_screen_position): Use SCREEN_IS_X macro instead of testing
  10269.     for output_x_window.
  10270.     * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same.
  10271.  
  10272. Sat Jan 25 16:37:19 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10273.  
  10274.     * term.c (term_get_fkeys): New function.
  10275.     (term_init): Call term_get_fkeys.
  10276.  
  10277. Tue Jan 21 10:41:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10278.  
  10279.     * editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and
  10280.     Fprevious_char, for consistency.  Renamed Sfollchar and Sprevchar
  10281.     too.
  10282.     (syms_of_editfns): Fixed defsubrs.
  10283.     * lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above.
  10284.     
  10285.     * editfns.c (Ffollowing_char): Return 0 at the end of the buffer,
  10286.     as advertised.  Doc fix.
  10287.     (Fprevious_char): Doc fix.
  10288.  
  10289.     * config.h-dist: Rearranged to define user parameters before
  10290.     including the machine and opsystem files, so the files can have
  10291.     conditionals on the parameters.
  10292.  
  10293. Wed Jan 15 15:03:55 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10294.  
  10295.     * keyboard.c (read_key_sequence): When expanding a function key
  10296.     recognized with Vfunction_key_map, don't scan the expansion for
  10297.     further function key sequences.
  10298.  
  10299.     * keyboard.c (Vfunction_key_map): Real declaration moved to
  10300.     keymap.c; this declaration made extern.
  10301.     (syms_of_keyboard): DEFVAR and initialization of Vfunction_key_map
  10302.     moved to keymap.c, since it should be initialized to a keymap, but
  10303.     we don't want to rely on Qkeymap being initialized now.
  10304.     * keymap.c (Vfunction_key_map): Variable moved here.
  10305.     (syms_of_keymap): DEFVAR and init here.
  10306.  
  10307.     * keymap.c (Fglobal_key_binding): Doc fix.
  10308.  
  10309. Thu Jan 16 01:47:48 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10310.  
  10311.     * m-delta88.h: New file.
  10312.  
  10313.     * window.c (window_scroll): New arg `noerror'.
  10314.     (scroll_command, Fscroll_other_window): Pass that arg.
  10315.  
  10316. Wed Jan 15 17:14:54 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10317.  
  10318.     * process.c (sigchld_handler):
  10319.     Set synch_process_death and synch_process_retcode.
  10320.  
  10321. Tue Jan 14 00:51:08 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10322.  
  10323.     * config.h-dist (SIGTYPE): New macro to help give signal handlers
  10324.     the correct type.
  10325.     * s/usg5-3.h (SIGTYPE): Define this to be void.
  10326.     * dispnew.c (window_change_signal): Declare this to return
  10327.     SIGTYPE.
  10328.     * emacs.c (fatal_error_signal): Same.
  10329.     * data.c (arith_error): Same.
  10330.     * process.c (create_process_1, send_process_trap,
  10331.     create_process_sigchld, sigchld_handler): Same.
  10332.     (create_process): Declare sigchld according to SIGTYPE.  This
  10333.     means we don't have to cast the return value of signal.
  10334.     * keyboard.c (input_poll_signal, interrupt_signal): Declare these
  10335.     to return SIGTYPE.
  10336.     (kbd_buffer_store_event): Include a forward declaration for
  10337.     interrupt_signal here.
  10338.     * sysdep.c (struct save_signal): Say the handler returns SIGTYPE
  10339.     instead of int.
  10340.     (save_signal_handlers): So we don't have to cast the return value
  10341.     from signal here.
  10342.     (sys_suspend): Declare oldsig according to SIGTYPE.
  10343.     (select): Declare old_trap using SIGTYPE.
  10344.     (select_alarm, wait_for_termination_signal): Declare these to
  10345.     return SIGTYPE.
  10346.  
  10347.     * emacs.c: #include <termios.h>, if we have it.
  10348.     (fatal_error_signal): If we have termios, use tcgetpgrp to get the
  10349.     terminal's process group.
  10350.     * process.c: If we have termios, #include <termios.h> instead of
  10351.     <termio.h>.
  10352.     (process_send_signal): If we have termios, use tcgetpgrp to get
  10353.     the terminal's process group.  Have gid default to the child's
  10354.     pid, to simplify the logic below.
  10355.     * sysdep.c (flush_pending_output): If we are using termios, make
  10356.     this function a no-op; since we're not in the tty's pgroup, we
  10357.     would get a SIGTTIN.
  10358.  
  10359. Mon Jan 13 00:50:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10360.  
  10361.     * config.h-dist: Removed MAINTAIN_ENVIRONMENT clause.
  10362.     * callproc.c: Removed support for MAINTAIN_ENVIRONMENT.
  10363.     (init_callproc): Use getenv instead of egetenv to initialize
  10364.     Vshell_file_name.
  10365.     * emacs.c (decode_env_path): Use getenv instead of egetenv 
  10366.     * lisp.h: Removed support for MAINTAIN_ENVIRONMENT.
  10367.     * process.c: Same.
  10368.     * ymakefile: Same.
  10369.     * dispnew.c (init_display): Call getenv instead of egetenv.
  10370.  
  10371.     * editfns.c (Fgetenv): Function moved...
  10372.     * callproc.c (Fgetenv): To here, and made to scan
  10373.     Vprocess_environment instead of using the usual C getenv function.
  10374.     (getenv_internal): New function.
  10375.     (egetenv): New function.
  10376.     * lisp.h: Added extern declaration for egetenv.
  10377.     * editfns.c (syms_of_editfns): Adjusted.
  10378.     * callproc.c (syms_of_callproc): Adjusted.
  10379.  
  10380.     * window.h (minibuf_prompt_width): Declare this extern here, after
  10381.     minibuf_prompt.
  10382.     minibuf.c: Don't extern declare it here.
  10383.     indent.c: As above.
  10384.  
  10385.     * dispnew.c (buffer_posn_from_coords): If there is a prompt in the
  10386.     minibuffer, account for its width when computing the buffer
  10387.     position.
  10388.  
  10389.     * Makefile (doall): Explicitly export CC to the xmakefile.
  10390.  
  10391.     * ymakefile: Use /* */ around comments; # confuses cpp.
  10392.  
  10393.     * ymakefile: Note that ralloc.o depends on mem_limits.h, xterm.h,
  10394.     and config.h.
  10395.     Note that vm-limit.o depends on mem_limits.h.
  10396.  
  10397.     * lread.c (read_escape): Return \a as '\007', not '\a'; the latter
  10398.     isn't portable, and this routine would have to be revised anyway
  10399.     to deal with anything other than ASCII.
  10400.  
  10401.     * keymap.c (current_minor_maps): Rewritten not to use
  10402.     function-local static variables, to accomodate DGUX.
  10403.  
  10404.     * xterm.h (UNBLOCK_INPUT): Replace "abort ()" with "(abort (),
  10405.     0)", to avoid type conflicts on odd systems like Ultrix.
  10406.  
  10407.     * xrdb.c: Include <sys/types.h>, and declare getuid to return uid_t.
  10408.  
  10409.     * xdisp.c (redisplay_window): Use SET_PT macro instead of
  10410.     assigning to point.
  10411.     insdel.c (insert_from_string): Same.
  10412.  
  10413.     * xterm.c (XTcursor_to): Declare it static at the function
  10414.     definition, as well as at the top of the file.
  10415.     (dumpglyphs): Removed declarations for buf and cp; these variables
  10416.     are never used.
  10417.  
  10418.     * lisp.h (NULL): Renamed to NILP, so as not to conflict with
  10419.     <stdio.h>, and <stddef.h>.  All callers changed; all
  10420.     #undefinitions of NULL removed.
  10421.  
  10422. Sun Jan 12 23:01:02 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10423.  
  10424.     * xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to
  10425.     declare the explicit argument array.
  10426.  
  10427.     * config.h-dist: Instead of reaching the machine- and
  10428.     system-dependent files through symlinks, replace the strings 
  10429.  
  10430. Thu Jan  9 22:50:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10431.  
  10432.     * keyboard.c (stuff_buffered_input): Don't forget to increment
  10433.     kbd_fetch_ptr while looping through kbd_buffer.
  10434.  
  10435. Wed Jan  8 15:13:56 1992  Jim Blandy  (jimb at occs.cs.oberlin.edu)
  10436.  
  10437.     * keyboard.c (read_avail_input): Don't forget to fill in the
  10438.     screen field in events read from the terminal.
  10439.     * sysdep.c (kbd_input_ast, read_input_waiting): Call
  10440.     kbd_buffer_store_event with a `struct input_event *', not a
  10441.     character or a Lisp_Object.
  10442.  
  10443. Sat Dec 21 02:03:38 1991  Jim Blandy (jimb at occs.cs.oberlin.edu)
  10444.  
  10445.     * bytecode.c (docall): Don't remove protection from the arguments
  10446.     to Ffuncall.
  10447.  
  10448. Fri Dec 20 01:28:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10449.  
  10450.     * keyboard.c (Vfunction_key_map): New variable.
  10451.     (read_key_sequence): Changed to recognize and substitute bindings
  10452.     in Vfunction_key_map at any point in the sequence, unless they
  10453.     conflict with ordinary bindings.
  10454.     (syms_of_keyboard): DEFVAR, document, and initialize
  10455.     Vfunction_key_map.
  10456.  
  10457. Thu Dec 19 00:29:07 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10458.  
  10459.     * keymap.c (Vminor_mode_map_alist): New variable, to support
  10460.     keymaps for minor modes.
  10461.     (current_minor_maps, Fminor_mode_key_binding,
  10462.     Fcurrent_minor_mode_maps): New functions.
  10463.     (Fkey_binding): Rewritten to scan for minor mode bindings too.
  10464.     (syms_of_keymap): DEFVAR, document, and initialize
  10465.     Vminor_mode_map_alist, and defsubr the new Ffunctions.
  10466.     (describe_buffer_bindings): Describe the bindings established by
  10467.     minor modes too.
  10468.     * keyboard.c (follow_key): New function, to support...
  10469.     (read_key_sequence): Completely rewritten to handle scanning an
  10470.     arbitrary number of keymaps at a time.
  10471.  
  10472.     * keyboard.c (Fread_key_sequence): GCPRO keybuf, since it can hold
  10473.     lisp expressions while waiting for input.  Don't pass too many
  10474.     arguments to read_key_sequence.
  10475.     (command_loop_1): Don't pass too many arguments to read_key_sequence.
  10476.  
  10477.     * keyboard.c (add_command_key): New function; there are several
  10478.     places that add keys to this_command_keys, so we make one function
  10479.     to do the work.
  10480.     (read_char, Fexecute_extended_command): Call add_command_key
  10481.     instead of writing out its code again.
  10482.     (init_keyboard): Allocate this_command_keys according to
  10483.     this_command_keys_size.
  10484.  
  10485.     * lread.c (read1): Change comment to use `share-lib' instead of `etc'.
  10486.     * doc.c (Fdocumentation_property, Fsnarf_documentation): Update
  10487.     docstring similarly.
  10488.     (Fsnarf_documentation): Use "../share-lib/" instead of "../etc/"
  10489.     to find doc file while dumping.
  10490.     * unexaix.c: Similar doc fix.
  10491.  
  10492.     * ymakefile (etcdir): Variable removed.
  10493.     (libsrc, archlib, sharelib): New variables, to take the place of
  10494.     etcdir.
  10495.  
  10496. Wed Dec 18 17:55:46 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10497.  
  10498.     * ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH
  10499.     in the value for CFLAGS; the configuration script will take care
  10500.     of choosing the debugging and optimization switches.
  10501.  
  10502.     * config.h-dist: Copy the GLYPH definitions from config.h to here.
  10503.  
  10504. Mon Dec 16 22:36:11 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10505.  
  10506.     * abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook.
  10507.     (syms_of_abbrev): Define that variable.
  10508.  
  10509. Fri Dec 13 13:37:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10510.  
  10511.     * m/m-*.h: Since the m- is now redundant, renamed all files to
  10512.     remove it, and changed references within files.
  10513.     * s/s-*.h: Same business.
  10514.  
  10515. Wed Dec 11 14:22:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10516.  
  10517.     * config.h-dist (MULTI_SCREEN): Define this automatically when
  10518.     we're using a window system.
  10519.  
  10520. Mon Dec  9 17:24:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10521.  
  10522.     * m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS
  10523.     comments to tell the configuration script what sort of operating
  10524.     system this machine typically runs.
  10525.  
  10526.     * config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer
  10527.     used.
  10528.  
  10529. Sun Dec  8 02:04:27 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10530.  
  10531.     * editfns.c (Fcurrent_time): New function, to return the current
  10532.     time as a number, like the Unix time(3) function.  This might be
  10533.     fun to port.
  10534.     (syms_of_editfns): defsubr it.
  10535.  
  10536. Thu Dec  5 13:59:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10537.  
  10538.     * keymap.c (Vminor_mode_map_alist): New variable.
  10539.     (current_minor_maps): New function.
  10540.     (Fcurrent_minor_mode_maps): New function.
  10541.     (syms_of_keymap): DEFVAR, document, and initialize
  10542.     Vminor_mode_map_alist, and defsubr Fcurrent_minor_mode_maps.
  10543.  
  10544.     * callproc.c (Vdata_directory): New lisp variable, for the
  10545.     directory containing architecture-independent data files.
  10546.     (init_callproc): Initialize Vdata_directory from PATH_DATA, and
  10547.     make sure it exists.  Renamed execdir to tempdir, because we use
  10548.     it for both Vexec_directory and Vdata_directory.
  10549.     (syms_of_callproc): Doc fix for Vexec_directory, new DEFVAR_LISP
  10550.     for Vdata_directory.
  10551.     * paths.h-dist (PATH_DATA): New path macro, to initialize
  10552.     Vdata_directory.
  10553.     * doc.c (get_doc_string): Use Vdata_directory to find the
  10554.     docstrings, not Vexec_directory.
  10555.     * lisp.h (Vdata_directory): New extern declaration, for above
  10556.     users.
  10557.     * config.h-dist: Changed references to ../etc to ../share-lib.
  10558.  
  10559.     * callint.c (Fcall_interactively): For the 'k' interactive code,
  10560.     cast the type of the symbol name before passing it to error.
  10561.  
  10562. Mon Dec  2 19:06:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10563.  
  10564.     * keyboard.c (make_lispy_movement): Move call to
  10565.     mouse_position_hook from here...
  10566.     (kbd_buffer_get_event): To here, for symmetry with non-movement
  10567.     events.
  10568.  
  10569.     * keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for
  10570.     mouse movements, too. 
  10571.  
  10572. Wed Nov 27 13:33:31 1991  Jim Wilson  (wilson at wookumz.gnu.ai.mit.edu)
  10573.  
  10574.     * alloca.c (alloca): Add parens to make precedence clearer.
  10575.  
  10576. Tue Nov 26 00:13:29 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  10577.  
  10578.     * search.c: need to include sys/types.h because of recent mod to
  10579.     regex.h.
  10580.  
  10581. Mon Nov 25 23:51:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10582.  
  10583.     * bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default.
  10584.     (METER_CODE): Define same name whether metering or not.
  10585.     (BinsertN): New byte code.
  10586.     (Fbyte_code): Improve overflow/underflow error messages.
  10587.     (docall): Put back previously lost code to remove protection
  10588.     from funcall args.
  10589.  
  10590. Mon Nov 25 20:08:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10591.  
  10592.     * lisp.h (make_array): New extern declaration.
  10593.  
  10594.     * alloc.c (make_sequence): Renamed to make_array; more accurate.
  10595.     * keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed.
  10596.     * macros.c (Fend_kbd_macro): Callers fixed.
  10597.  
  10598. Fri Nov 15 15:39:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10599.  
  10600.     * keyboard.c (cmd_error): If an error occurs before somebody has
  10601.     provided a screen to print it on, print it to stderr and exit
  10602.     Emacs.  Handle batch-mode errors with the same code.
  10603.     * lisp.h (Qexternal_debugging_ouput): New extern declaration, for
  10604.     use in cmd_error.
  10605.  
  10606.     * screen.c (Fscreen_pixel_size, Fset_screen_position): Doc fix.
  10607.  
  10608.     * window.c (Fwindow_at): Typecheck COORDINATES more thoroughly.
  10609.  
  10610.     * screen.c (read_mouse_position): Function deleted.
  10611.     (Fread_mouse_position): Renamed to Fmouse_position, and changed to
  10612.     use mouse_position_hook.
  10613.     (syms_of_screen): Adjusted accordingly.
  10614.     * xfns.c (x_read_mouse_position): Function deleted.
  10615.  
  10616.     * screen.h (SCREENP): The non-MULTI_SCREEN case used to say this
  10617.     was false for all objects, but it should be true for the terminal
  10618.     screen, so make its definition the same as in the MULTI_SCREEN
  10619.     case.
  10620.  
  10621.     * screen.h (SCREEN_LIVE_P): New predicate.
  10622.     (CHECK_LIVE_SCREEN): New type-checking macro.
  10623.     (Qlive_screen_p): New error-reporting symbol.
  10624.     * screen.c (Qlive_screen_p): Declare the new symbol.
  10625.     (Flive_screen_p): New lisp predicate.
  10626.     (syms_of_screen): Initialize, staticpro, and defsubr the lot.
  10627.     * dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN.
  10628.     * screen.c (Fscreen_root_window, Fscreen_selected_window,
  10629.     Fnext_screen, Fset_mouse_position, Frestore_screen_configuration,
  10630.     Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
  10631.     Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus,
  10632.     Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height,
  10633.     Fset_screen_width, Fset_screen_size, Fset_screen_position,
  10634.     Fselect_screen): Use CHECK_LIVE_SCREEN.
  10635.     * window.c (Fwindow_at, Fcurrent_window_configuration): Use
  10636.     CHECK_LIVE_SCREEN.
  10637.     * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use
  10638.     CHECK_LIVE_SCREEN.
  10639.  
  10640.     * screen.c (Fdelete_screen): Do nothing if SCREEN is already
  10641.     deleted.
  10642.     
  10643.     * screen.c (Qscreenp): Staticpro this symbol.
  10644.  
  10645.     * xfns.c (Fx_create_screen): Doc fix.
  10646.  
  10647.     * xfns.c (Fx_create_screen): Give the screen a minibuffer if the
  10648.     'minibuffer parameter is t or nil; nil is the default value for
  10649.     omitted parameters, and t is intuitive.
  10650.  
  10651. Thu Nov 14 16:18:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10652.  
  10653.     * eval.c (specbind): Check that the thing being bound is a symbol.
  10654.     (funcall_lambda): Signal an invalid-function error if the
  10655.     arguments are not all symbols.
  10656.  
  10657. Fri Nov  8 14:45:30 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10658.  
  10659.     * screen.c (Fselect_screen): Don't select dead screens.
  10660.     * print.c (print): Print dead screen objects starting with
  10661.     "#<dead screen".
  10662.  
  10663.     * keyboard.c (read_key_sequence): Make sure that the compound
  10664.     events actually have valid window fields.
  10665.  
  10666.     * window.c (next_screen_window): Function deleted; Fnext_window
  10667.     can now do its job properly.
  10668.     (window_from_coordinates, window_loop): Call Fnext_window instead
  10669.     of next_screen_window.
  10670.  
  10671.     * xdisp.c (redisplay): Don't clear out minibuffer windows in the
  10672.     midst of the screen loop here.  That's confusing.
  10673.     (redisplay_window): Since this needs special code to detect
  10674.     minibuffers anyway, put it here.  And clear all the lines of a
  10675.     multi-line minibuffer, not just the first one.
  10676.  
  10677. Thu Nov  7 20:54:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10678.  
  10679.     * screen.c (Fdelete_screen): When searching Vscreen_list for a new
  10680.     value for last_nonminibuf_screen, remember that the screens live
  10681.     in the cars of the list, not the cdrs.
  10682.  
  10683.     * xterm.c (x_make_screen_visible): Rearranged for clarity.
  10684.  
  10685.     * xdisp.c (echo_area_display): Rearranged for clarity.
  10686.  
  10687. Wed Nov  6 10:53:50 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10688.  
  10689.     * screen.c (next_screen, prev_screen): New meaning for MINI_SCREEN
  10690.     argument helps implement the behavior of Fnext_window.
  10691.     (Fnext_screen): Document the new behavior.
  10692.  
  10693.     * screen.c (make_minibuffer_screen): Do set has_minibuffer for
  10694.     minibuffer-only screens.
  10695.     (Fscreen_parameters): Correctly generate value of minibuffer
  10696.     parameter using SCREEN_HAS_MINIBUF and SCREEN_MINIBUF_ONLY_P.
  10697.     * screen.h (SCREEN_HAS_MINIBUF): New predicate.
  10698.     * dispnew.c (change_screen_size): Use it.
  10699.     * screen.c (Fdelete_screen): Use it.
  10700.  
  10701.     * screen.c (Vglobal_minibuffer_screen): Renamed
  10702.     Vdefault_minibuffer_screen to better describe its significance.
  10703.     (make_screen_without_minibuffer, syms_of_screen): Adjusted.
  10704.     * xfns.c (Fx_create_screen): Doc string adjusted.
  10705.  
  10706.     * xdisp.c (display_mode_line): Make the code which names the
  10707.     screen after the current buffer not depend on
  10708.     Vglobal_minibuffer_screen.
  10709.     * xterm.c (Vglobal_minibuffer_screen): Don't declare this extern
  10710.     here; it's never used.
  10711.  
  10712. Tue Nov  5 13:39:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10713.  
  10714.     * screen.c (Fdelete_screen): Document the fact that surrogate
  10715.     minibuffer screens may not be deleted.
  10716.  
  10717.     * screen.h (SCREEN_MINIBUF_ONLY_P): New predicate, true iff the
  10718.     screen's only window is a minibuffer, aka a "minibuffer screen" or
  10719.     a "minibuffer-only" screen.
  10720.     * dispnew.c (change_screen_size): Use it.
  10721.     * screen.c (Fselect_screen, next_screen, prev_screen,
  10722.     Fdelete_screen): Use it.
  10723.     * window.c (Fdisplay_buffer): Use it.
  10724.  
  10725.     * screen.c (next_screen, prev_screen): Make MINIBUF a lisp
  10726.     boolean, not a C boolean.
  10727.     (Fnext_screen, Fdelete_screen): Changed to fit.
  10728.     * window.c (Fnext_window, Fprevious_window): Changed to fit.
  10729.  
  10730.     * screen.c (make_screen_without_minibuffer): Error string improvement.
  10731.  
  10732.     * screen.c (syms_of_screen): Doc grammar fix for Vemacs_iconified.
  10733.  
  10734.     * screen.c (next_screen): Added some sanity checks, rewrote comments.
  10735.  
  10736.     * screen.h (Vglobal_minibuffer_screen): Don't declare this.  It
  10737.     shouldn't be used for anything but screen creation.
  10738.     * window.c (Fminibuffer_window): Vglobal_minibuffer_screen is not
  10739.     necessarily the screen containing the current minibuffer window.
  10740.     Also, call choose_minibuf_window; it does much of the work here.
  10741.     (Fnext_window): Used to insist on looping through all screens if
  10742.     Vglobal_minibuffer_screen was non-nil.  Now includes screen's
  10743.     minibuffer window according to MINIBUF, no matter what screen it's
  10744.     on, and ignores Vglobal_minibuffer_screen.  Loop termination logic
  10745.     cleaned up.  Clarified doc string.
  10746.     (Fprev_window): Same problems as Fnext_window, above.
  10747.     * screen.c (Vglobal_minibuffer_screen): Documentation rewritten to
  10748.     emphasize that it is only a parameter of the creation of
  10749.     minibufferless screens, and not an indication of where the
  10750.     minibuffer is.
  10751.     (prev_screen): Used to assume that Vglobal_minibuffer_screen was
  10752.     the only minibuffer-only screen, and would enter an infinite loop
  10753.     if Vglobal_minibuffer_screen was the only screen in the list.
  10754.     Rewritten to fix these problems.
  10755.     * minibuf.c (Vglobal_minibuffer_screen): Don't declare it extern
  10756.     here; it's not used.
  10757.  
  10758.     * editfns.c (Fmessage): Don't call Fmake_screen_visible here.
  10759.     * xdisp.c (message, message1): Call it here, so that Emacs C
  10760.     functions like Fy_or_n_p make the screen visible too.
  10761.  
  10762. Mon Nov  4 00:01:14 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10763.  
  10764.     * keyboard.c (readable_events): If EVENT_QUEUES_EMPTY, we can
  10765.     short-circuit and say no.  Otherwise, if do_mouse_tracking, we can
  10766.     short-circuit and say yes.  These things let us scan the event
  10767.     queue less often.
  10768.  
  10769.     * termhooks.h (mouse_tracking_enable_hook): Replaced by...
  10770.     (mouse_moved, mouse_position_hook): It turns out that it is
  10771.     possible and no less efficient simply to tell Emacs if the mouse
  10772.     has moved since last noticed, and let it ask for the current mouse
  10773.     position; X's pointer motion hints are a cool thing.
  10774.     * term.c (mouse_tracking_enable_hook): Replaced by...
  10775.     (mouse_position_hook): New, simpler interface.
  10776.     * keyboard.c (struct movement, movement_buf, movement_ptr):
  10777.     Replaced by...
  10778.     (mouse_moved): This flag, to be used in conjuction with
  10779.     mouse_position_hook.
  10780.     (EVENT_QUEUES_EMPTY): Adjusted to use mouse_moved instead of
  10781.     movement_buf and movement_ptr.
  10782.     (tracking_off, Ftrack_mouse): Don't call mouse_tracking_enable
  10783.     hook.
  10784.     (note_mouse_position): Moved to xterm.c.
  10785.     (get_mouse_position): Replaced by mouse_position_hook.
  10786.     (make_lispy_event): Movement event generation code moved out to a
  10787.     separate function...
  10788.     (make_lispy_movement): Create a mouse movement event for the
  10789.     current mouse position.  Use mouse_position_hook instead of
  10790.     get_mouse_position.  Added static declaration for this above...
  10791.     (kbd_buffer_get_event): Use mouse_moved instead of movement_buf
  10792.     and movement_ptr.  Call make_lispy_movement instead of
  10793.     make_lispy_event.
  10794.     (init_keyboard): Initialize do_mouse_tracking.  Don't init
  10795.     movement_ptr and movement_buf.
  10796.     * xterm.h (STANDARD_EVENT_SET): Add PointerMotionMask and
  10797.     PointerMotionHintMask to the set.
  10798.     * xterm.c (pixel_to_glyph_translation): Renamed to
  10799.     pixel_to_glyph_coords, made static, simplified to take advantage
  10800.     of constant-size characters, and extended to return the bounding
  10801.     rectangle of the glyph returned.
  10802.     (construct_mouse_click): The 'button' field of a button event is
  10803.     the button number, not a mask; convert it to a mask before
  10804.     frobbing x_mouse_grabbed.  Call pixel_to_glyph_coords properly.
  10805.     (last_mouse_screen, last_mouse_glyph): New variables, to keep
  10806.     track of when the pointer has moved to a different glyph.
  10807.     (note_mouse_position): Moved here from keyboard.c and made static.
  10808.     Check if the new mouse position is over a new glyph.  If it is,
  10809.     set mouse_moved flag; otherwise, call XQueryPointer to get the
  10810.     next motion event.
  10811.     (XTmouse_tracking_enable): No longer needed, since pointer motion
  10812.     hints let us implement the simpler mouse position hook.
  10813.     (XTmouse_position): New hook.  Call XQueryPointer to get the
  10814.     current mouse position and request notification about the next
  10815.     mouse movement.  Clear the mouse_moved flag.
  10816.     (pixel_to_glyph_coords, construct_mouse_click,
  10817.     note_mouse_position, XTmouse_position): Put these all on the same
  10818.     page.
  10819.     (XTread_socket): case MotionNotify, call note_mouse_position with
  10820.     the right args; don't call pixel_to_glyph_translation.
  10821.     (x_term_init): Set mouse_position_hook instead of
  10822.     mouse_tracking_enable_hook.
  10823.  
  10824. Thu Oct 31 02:53:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10825.  
  10826.     * xdisp.c (redisplay_window): When trying to avoid starting
  10827.     display at the end of the buffer: check that startp < ZV, not
  10828.     startp <= ZV.
  10829.  
  10830. Tue Oct 29 18:19:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10831.  
  10832.     * xterm.c (x_do_pending_expose, XTmouse_tracking_enable): Use
  10833.     SCREEN_IS_X instead of testing output_method directly.
  10834.  
  10835. Sat Oct 26 01:07:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10836.  
  10837.     * xdisp.c (redisplay): In the single-screen optimization, always
  10838.     update the minibuffer's screen as well as the selected screen, no
  10839.     matter what the echo_area_glyphs are.  This makes sure that
  10840.     messages get cleared after a keystroke.
  10841.  
  10842. Fri Oct 25 10:58:04 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10843.  
  10844.     * callint.c (Finteractive): Doc fix.
  10845.  
  10846.     * xterm.c (XTmouse_tracking_enable): Block input while changing
  10847.     the screens' input selection masks.
  10848.  
  10849.     * window.c (change_window_height): If the window being resized is
  10850.     the only window of the screen, no size change is possible; make
  10851.     the delta be zero.  Exit without "changing" the sizes of any
  10852.     windows if the delta is zero.
  10853.  
  10854.     * alloc.c: Don't bother to include xterm.h.
  10855.     (Fgarbage_collect): Don't bother to BLOCK_INPUT here,
  10856.     since we don't cons in the input handler.
  10857.  
  10858. Mon Oct 21 20:30:48 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10859.  
  10860.     * window.c (init_window_once): Set last_nonminibuf_screen to the
  10861.     initial terminal screen, so that poor Fdisplay_buffer doesn't try
  10862.     to create a new screen on a terminal.
  10863.  
  10864. Sat Oct 19 11:39:03 1991  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10865.  
  10866.     * m-intel386.h (signal): Optionally don't define it.
  10867.     * s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this.
  10868.  
  10869. Fri Oct 18 17:22:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10870.  
  10871.     * scroll.c (line_ins_del): Don't calculate costs off the end of mf
  10872.     and ov; use < in loop condition, not <=.
  10873.  
  10874.     * scroll.c (scroll_cost): Logic rearranged.
  10875.  
  10876.     * dispnew.c (change_screen_size): Change "SCREEN_IS_TERMCAP
  10877.     (screen) == output_termap" to "SCREEN_IS_TERMCAP (screen)"
  10878.     (window_change_signal): Use SCREEN_IS_TERMCAP predicate instead of
  10879.     testing output_method_directly.
  10880.  
  10881. Tue Oct 15 02:38:32 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10882.  
  10883.     * xterm.h (STANDARD_EVENT_SET): Include ButtonReleaseMask in
  10884.     STANDARD_EVENT_SET.
  10885.     * xterm.c (XTmouse_tracking_enable): Don't bother or'ing
  10886.     ButtonReleaseMask with the STANDARD_EVENT_SET.
  10887.  
  10888.     * dispnew.c (buffer_posn_from_coords): If the coordinates are off
  10889.     past the end of a line, return them as being *before* the newline,
  10890.     not after.
  10891.  
  10892.     * keyboard.c (kbd_buffer_get_event): Set input_pending after
  10893.     reading the event, no matter what sort of event it is - i.e., move
  10894.     the assignment to input_pending outside of the event lispifying
  10895.     conditional.
  10896.  
  10897.     * keyboard.c (note_mouse_position): Don't record a "new" mouse
  10898.     position unless it really differs from the last one returned.
  10899.  
  10900.     * keyboard.c (kbd_buffer_read_char): Renamed to
  10901.     kbd_buffer_get_event, for consistency with kbd_buffer_store_event.
  10902.  
  10903.     * window.c (Fwindow_at): modified to take the coordinates as a
  10904.     pair, not a two-element list, for ease of use and compatibility
  10905.     with events.  Make SCREEN argument second and optional.
  10906.     (Fcoordinates_in_window_p): Modified to take and return the
  10907.     coordinates as above, and to distinguish the right border as well
  10908.     as the mode line.
  10909.     (window_from_coordinates): Modified to distinguish the right
  10910.     border as well as the mode line.
  10911.     * lisp.h (Qmode_line, Qvertical_split): Declare this extern, from
  10912.     keyboard.c.
  10913.     * keyboard.c (make_lispy_event): Distinguish a window's right
  10914.     border from its text area.
  10915.  
  10916.     * window.c (coordinates_in_window): Make it static.
  10917.  
  10918.     * window.c (Flocate_window_from_coordinates): Renamed to
  10919.         Fwindow_at.
  10920.     (syms_of_window): Adjusted.
  10921.     * lisp.h: Adjusted to say so.
  10922.  
  10923.     * screen.c (Fcoordinates_in_window_p, window_from_coordinates,
  10924.     Flocate_window_from_coordinates): Functions moved to window.c.
  10925.     (syms_of_screen): Adjusted.
  10926.     * window.c (Fcoordinates_in_window_p, window_from_coordinates,
  10927.     Flocate_window_from_coordinates): Here they are.
  10928.     (syms_of_window): Adjusted.
  10929.     * lisp.h: Adjusted to say so.
  10930.  
  10931. Mon Oct 14 23:36:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10932.  
  10933.     * xterm.c (XTclear_end_of_line): This used to try to get the
  10934.     cursor out of the way by comparing the line being cleared with
  10935.     s->cursor_y, which is meaningless; it should have compared it with
  10936.     s->phys_cursor_y.  Changed to just mark the cursor as cleared if
  10937.     it's in the area we're clearing.
  10938.  
  10939. Sun Oct 13 05:20:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10940.  
  10941.     * m-intel386.h: Fix typo in #endif.
  10942.  
  10943. Sat Oct 12 00:47:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10944.  
  10945.     * callint.c (Fcall_interactively): Added new interactive spec 'K',
  10946.     for mouse clicks.  Added explanation to doc string.  Removed 'e'
  10947.     spec, which didn't work with the new input model anyway.
  10948.     * keyboard.c (Fmouse_click_p): New function.
  10949.     (syms_of_keyboard): defsubr it.
  10950.  
  10951.     * keyboard.c (EVENT_QUEUES_EMPTY): Clarified comment.
  10952.     (tracking_off): Change "if (!readable_events)" to
  10953.     "if (!readable_events ())".
  10954.     (Ftrack_mouse): Doc fix.
  10955.     (kbd_buffer_read_char): Fix brainos in tossing of unwanted events.
  10956.     Don't use EVENT_QUEUES_EMPTY to set input_pending; call
  10957.     readable_events.
  10958.  
  10959. Fri Oct 11 22:17:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10960.  
  10961.     * keyboard.c (Qmode_line): New quoted symbol.
  10962.     (syms_of_keyboard): Initialize and staticpro it.
  10963.     (make_lispy_event): Use it to indicate when a mouse position is in
  10964.     a window's mode line.
  10965.  
  10966.     * xterm.c (XTread_socket): Consider the window to be resized if
  10967.     either the character or pixel dimensions have changed; this will
  10968.     catch font size changes.
  10969.  
  10970. Tue Oct  8 10:37:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10971.  
  10972.     * process.c (wait_reading_process_input): Removed all the
  10973.     exceptional condition stuff.  Emacs lacks any way to respond to
  10974.     such a state, and selecting for it without responding to it can make
  10975.     Emacs loop indefinitely.
  10976.  
  10977.     * xterm.c (XTread_socket, construct_mouse_click): Make sure that
  10978.     all enqueued events have their timestamp field set.
  10979.     * termhooks.h (struct input_event): Doc fix.
  10980.     * keyboard.c (last_event_timestamp): New variable.
  10981.     (get_mouse_position, kbd_buffer_store_event,
  10982.     kbd_buffer_read_char): Make sure to fill in Vlast_event_screen and
  10983.     last_event_timestamp.
  10984.     * xselect.c (mouse_timestamp): Don't use this anymore.
  10985.     (last_event_timestamp): Use this instead.
  10986.     (Fx_own_selection, Fx_own_clipboard, Fx_get_selection,
  10987.     Fx_get_clipboard): Use last_event_timestamp instead of
  10988.     mouse_timestamp.
  10989.  
  10990.     * xdisp.c (redisplay): Don't pass extra arguments to
  10991.     update_screen.
  10992.  
  10993.     * keyboard.c (echo_truncate): Don't call echo here; this results
  10994.     in extraneous echoing of characters.
  10995.     (read_key_sequence): After calling echo_truncate, call echo_char
  10996.     to put the character we just read into the minibuffer, if
  10997.     appropriate.
  10998.  
  10999.     * keyboard.c (read_key_sequence): Removed unused argument
  11000.     no_redisplay.
  11001.  
  11002. Tue Oct  1 00:11:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11003.  
  11004.     * xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to
  11005.     indicate that the screen has no displayed cursor.
  11006.  
  11007.     * xfns.c (x_create_screen): Let InternalBorderWidth default to 1.
  11008.  
  11009.     * xterm.c (x_display_bar_cursor): Declare this to be static void.
  11010.  
  11011.     * xterm.c (XTupdate_begin): Don't turn off the cursor.  This makes
  11012.     ugly flickering.  Instead, make it okay for XTins_del_lines to do
  11013.     so:
  11014.     * screen.h (struct screen): New field phys_cursor_glyph, keeping
  11015.     track of the glyph under the currently displayed cursor.  Since
  11016.     current_glyphs is sometimes inaccurate when we want to undraw the
  11017.     cursor (as when XTins_del_lines is called from do_scrolling), we
  11018.     can't always get the GLYPH from there.
  11019.     * xterm.c (x_draw_single_glyph): Take the glyph to draw as an
  11020.     argument, instead of taking it from the screen matrix.
  11021.     (x_display_box_cursor): Set and use s->phys_cursor_glyph.
  11022.  
  11023.     * ymakefile: Note that scroll.o and xmenu.o depend on screen.h.
  11024.  
  11025. Sun Sep 29 07:24:42 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11026.  
  11027.     * keyboard.c (make_lispy_event): When building mouse movement
  11028.     event, use `m', not `event', dummy.
  11029.  
  11030. Thu Sep 26 02:28:16 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11031.  
  11032.     * screen.c (Fscreen_parameters): Return the proper value for the
  11033.     'minibuffer parameter for minibuffer-only screens.
  11034.  
  11035.     * xdisp.c (redisplay_window): When the start position is forced,
  11036.     constrain it to be within the visible region anyway.
  11037.  
  11038.     * xterm.c (XTwrite_glyphs): Instead of turning off the cursor
  11039.     before we write, just notice if we wrote over it.
  11040.  
  11041.     * xfns.c (x_decode_color): If a screen has two planes, then it is
  11042.     considered a color screen, and we should look up the color value.
  11043.  
  11044.     * ymakefile: Include xselect.o and xrdb.o in XOBJ even when
  11045.     HAVE_X_MENU is not defined.
  11046.  
  11047.     * fns.c (Fdelete): This used to be named Fdelq; Roland forgot to
  11048.     change the function name in his August 17 change.
  11049.     (syms_of_fns): defsubr Fdelete.
  11050.  
  11051. Tue Sep 24 03:20:07 1991  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  11052.  
  11053.     * alloca.c: Do nothing if alloca is defined as a macro.
  11054.  
  11055. Sun Sep  8 23:21:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11056.  
  11057.     * m-pfa50.h: New file.
  11058.  
  11059. Fri Sep  6 02:53:44 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11060.  
  11061.     * unexec.c: Add conditionals for COFF_ENCAPSULATE.
  11062.  
  11063. Sat Aug 17 20:46:04 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  11064.  
  11065.     * fns.c (Fdelete): New fn.  We have member now; we should have
  11066.     delete too.
  11067.  
  11068. Fri Aug 16 00:04:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11069.  
  11070.     * xfns.c (x_get_arg): Clean bad characters out of the screen name
  11071.     before using it as a resource key.
  11072.  
  11073.     * abbrev.c (Fexpand_abbrev): Don't let capitalization go past point.
  11074.  
  11075.     * sysdep.c (sys_suspend): Don't use & before array name.
  11076.  
  11077.     * sysdep.c [BROKEN_FIONREAD]: Undefine FASYNC.
  11078.  
  11079.     * m-tandem-s2.h (START_FILES, LIB_STANDARD): Added.
  11080.  
  11081.     * s/s-aix3-1.h: Define HAVE_TCATTR.
  11082.  
  11083.     * xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed.
  11084.  
  11085. Thu Aug 15 23:57:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11086.  
  11087.     * bytecode.c (Qbyte_code_meter): New.
  11088.     (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase,
  11089.     Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil,
  11090.     BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New
  11091.     byte codes.
  11092.     (Fbyte_code): Implemented new codes listed above.  Added code to
  11093.     count how many times a function is called.
  11094.     (syms_of_bytecode): Initialize and staticpro Qbyte_code_meter.
  11095.  
  11096.     * xfns.c (x_window): When setting the class hints, use the
  11097.     screen's name as the res_name.
  11098.  
  11099.     * xfns.c (x_make_screen_name): New function.
  11100.     (Fx_create_screen): Use x_get_arg to find screen name; if none has
  11101.     been specified, use x_make_screen_name; don't set the name again
  11102.     at the bottom.
  11103.     (x_get_arg): If SCREEN_NAME is nil, don't pass any class to
  11104.     Fx_get_resource.
  11105.  
  11106.     * xfns.c (x_get_arg, x_default_parameter): Take an extra argument
  11107.     TYPE, instead of encoding the type in the first letter of the
  11108.     property name.
  11109.  
  11110. Thu Aug 15 14:29:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  11111.  
  11112.     * buffer.c (Fkill_all_local_variables): Don't pass
  11113.     Fmake_local_variable too many args.  Use Fset instead.
  11114.  
  11115. Wed Aug 14 23:09:05 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11116.  
  11117.     * xfns.c (emacs_class): Variable removed.
  11118.     (EMACS_CLASS): New macro, specifying Emacs class for xrdb use.
  11119.     Use a class of "Emacs", to be compatible with previous versions.
  11120.     (Fx_get_resource, x_window, Fx_open_connection): Use macro here.
  11121.  
  11122.     * buffer.c (Fgenerate_new_buffer): Function moved to
  11123.     lisp/files.el.
  11124.     (Fgenerate_new_buffer_name): New function which does only the
  11125.     name-choosing work Fgenerate_new_buffer used to do.
  11126.     (Frename_buffer): Added second optional argument DISTINGUISH,
  11127.     which lets rename_buffer use generate-new-buffer-name if non-nil.
  11128.     Return the name the buffer was given.
  11129.     Do nothing if new name is already buffer's name.
  11130.  
  11131.     * xfns.c (Fx_get_resource): Take third argument CLASS, and require
  11132.     it to be specified whenever NAME is.
  11133.     All callers changed.
  11134.     [not HAVE_X11] (Fx_get_default): Only take the one arg.
  11135.     [not HAVE_X11] (Fx_get_resource): Toss the second two args.
  11136.  
  11137. Tue Aug 13 03:07:03 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11138.  
  11139.     * xfns.c (Fx_close_current_connection): Add \n to error message.
  11140.  
  11141.     * keyboard.c (make_lispy_event): Added HP keys into the
  11142.     function_key_names array.
  11143.     * xterm.c (XTread_socket): For KeyPressed events, strip the
  11144.     keysym's vendor-specific bit, and take a shot at fitting it into
  11145.     the Emacs key numbering.
  11146.  
  11147.     * screen.c (Vdefault_screen_alist): Definition moved from
  11148.     screen.el to here.
  11149.     (syms_of_screen): DEFVAR_LISP and initialize it here.
  11150.     * screen.h: Declare it here.
  11151.     * xfns.c (x_get_arg): Use it here.
  11152.  
  11153.     * screen.c (make_screen): When choosing a buffer for the screen's
  11154.     root window, shy away from buffers whose names start with a space.
  11155.  
  11156. Sun Aug 11 00:32:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11157.  
  11158.     * process.c (exec_sentinel, exec_sentinel_unwind): Move these
  11159.     above status_notify.
  11160.  
  11161.     * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes
  11162.     to process.c.
  11163.     (syms_of_eval): Initialize and staticpro above.
  11164.     * lisp.h: added extern declaration for above.
  11165.  
  11166. Sat Aug 10 23:23:51 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11167.  
  11168.     * regex.c (re_search_2): When searching with the fastmap, test for
  11169.     a translate table outside of the loop, not inside the loop.
  11170.  
  11171. Sat Aug 10 16:14:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11172.  
  11173.     * fns.c (Fequal): Don't crash on circular structure.
  11174.     (internal_equal): New subroutine does the recursion.
  11175.  
  11176.     * print.c (print): Recognize circular car pointers.
  11177.  
  11178. Sat Aug 10 01:48:38 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11179.  
  11180.     * process.c (wait_reading_process_input): Ignore exceptional
  11181.     conditions on the keyboard input.
  11182.  
  11183. Tue Aug  6 21:56:30 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11184.  
  11185.     * lisp.h: Fiddled with formatting.
  11186.  
  11187.     * process.c (exec_sentinel_unwind): New function.
  11188.     (exec_sentinel): Restore the process's sentinel, using an
  11189.     unwind_protect.
  11190.  
  11191. Mon Aug  5 23:55:24 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11192.  
  11193.     * keyboard.c: Doc fix.
  11194.  
  11195. Mon Aug  5 19:57:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11196.  
  11197.     * dired.h: Don't include search.h; it doesn't exist.
  11198.  
  11199.     * process.c (read_process_output, exec_sentinel): Bind
  11200.     Qinhibit_quit to true and call the filter directly instead of
  11201.     through a condition-case.
  11202.     (run_filter): Removed.
  11203.     (this_filter, filter_process, filter_string): Variables now
  11204.     unnecessary.
  11205.  
  11206.         * xfns.c (Fx_get_resource): Take the screen name as an optional
  11207.     argument and look up resources using the name of the screen as
  11208.     part of the key.
  11209.     [not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and
  11210.     ignore it.
  11211.     (x_get_arg): Take the screen name as an arg, and call
  11212.     Fx_get_resource with that argument.
  11213.     (x_default_parameter, x_figure_window_size, x_icon): Pass the
  11214.     screen's name to x_get_arg.
  11215.     (Fx_create_screen): Make sure the screen name is either nil or a
  11216.     string, and pass it to x_get_arg.
  11217.  
  11218.     * xfns.c (Vx_screen_defaults): Variable removed; such settings
  11219.     belong in the .Xdefaults file.
  11220.     (syms_of_xfns): Don't defvar it here.
  11221.     (Fx_create_screen): Don't use it here.
  11222.  
  11223.     * keyboard.c (classify_object): #if 0'd function finally removed.
  11224.     * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
  11225.     Qexited_window, Qredraw_screen): Unused, so removed.
  11226.     (syms_of_xterm): Don't bother to initialize above.
  11227.     
  11228.     * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for
  11229.     consistency.
  11230.     (x_term_init): Don't call it here.
  11231.     * xfns.c (syms_of_xfns): Don't call syms_of_xselect here.
  11232.     * emacs.c (main): Call them here.
  11233.  
  11234.     * xterm.c (invocation_name): Made this a Lisp_Object, so that its
  11235.     string value could be relocated properly.
  11236.     (x_term_init, x_text_icon): Adjusted code appropriately.
  11237.     (syms_of_xterm): staticpro invocation_name.
  11238.     * xfns.c (invocation_name): Changed extern declaration, deleted
  11239.     extra declaration.
  11240.     (Fx_get_resource): Adjusted code appropriately.
  11241.  
  11242. Sun Aug  4 17:38:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11243.  
  11244.     * lread.c (read1): Accept #[...] for bytecode object.
  11245.     * print.c (print): Print them that way.
  11246.  
  11247. Thu Aug  1 21:02:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11248.  
  11249.     * fileio.c (Fexpand_file_name): Avoid doing strlen (0).
  11250.  
  11251.     * editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system.
  11252.     * fileio.c [VMS]: Likewise.  Also include stddef.h, string.h.
  11253.     Include perror.h only once.
  11254.     [VMS] (file_name_as_directory, directory_file_name): Remove
  11255.     assignments from if conditions.
  11256.     (Fexpand_file_name): Remove excess slash from end of user's home dir.
  11257.  
  11258. Thu Aug  1 12:31:38 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11259.  
  11260.     * emacs.c (main): Add SIGIO conditional within AIX conditional.
  11261.  
  11262.     * xdisp.c (try_window_id): Compute proper position for screen bottom
  11263.     when all changes are below the screen.
  11264.     When first computing bp, don't go more than HEIGHT + 1 lines.
  11265.  
  11266. Wed Jul 31 13:14:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11267.  
  11268.     * xterm.c (x_destroy_window): If we're destroying the currently
  11269.     highlighted screen, clear x_highlight_screen.
  11270.  
  11271.     * xdisp.c (display_text_line, display_string):
  11272.     Don't go past endp for multi-column chars.
  11273.  
  11274. Sun Jul 28 08:09:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11275.  
  11276.     * lread.c (init_lread): If Vload_path was set specially before
  11277.     dumping, preserve it by default.
  11278.  
  11279.     * process.c (process_send_signal): Notice and deal if the
  11280.     TIOCGPGRP ioctl says that the subprocess has no pgrp.
  11281.  
  11282.     * xdisp.c (try_window_id): Always update window_end_* if successful.
  11283.  
  11284.     * process.h (subtty): New slot.
  11285.     * process.c (create_process): Set it.
  11286.     (process_send_signal): Use it.
  11287.  
  11288.     * alloc.c (Fmake_rope): Doc fix.
  11289.     * screen.c (Fselect_screen): Doc fix.
  11290.     * vms-pp.c: Fix comment.
  11291.  
  11292.     * keymap.c (Fkeymapp, Fdefine_prefix_command): Doc fixes.
  11293.  
  11294.     * window.c (window_select_count): No longer static.
  11295.     (init_window_once): Increment window_select_count, to give each
  11296.     window a unique use_time.
  11297.     * window.h (window_select_count): extern this here.
  11298.     * screen.c (make_screen): Stamp a new screen's selected window
  11299.     with the proper selection time.
  11300.  
  11301.     * ymakefile: xselect.o depends on screen.h, xterm.h, and config.h.
  11302.     xrdb.o depends on config.h.
  11303.     xterm.o depends on gnu.h.
  11304.     * xfns.h: File removed - it only declared Vx_send_movement_events.
  11305.     All includers changed.
  11306.  
  11307. Sat Jul 27 13:43:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11308.  
  11309.     * keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols.
  11310.  
  11311. Sat Jul 27 04:24:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11312.  
  11313.     * xdisp.c (redisplay): If echo_area_display puts text in a
  11314.     surrogate minibuffer screen, don't neglect to update it.
  11315.  
  11316.     * keyboard.c (kbd_buffer_store_event): Make sure
  11317.     Vlast_event_screen is set properly for quit characters.
  11318.  
  11319. Fri Jul 26 17:30:09 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11320.  
  11321.     * keyboard.c (command_loop_1): pass both arguments to
  11322.     Fselect_screen.
  11323.  
  11324.     * screen.c (make_screen): Divide the size by sizeof (Lisp_Object)
  11325.     before passing it to Fmake_vector.
  11326.     
  11327.     * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed
  11328.     definition.
  11329.  
  11330.     * screen.c: #include termhooks.h and therefore stdio.h.
  11331.     (make_screen): Initialize focus_screen member.
  11332.     (Fdelete_screen): Refuse to delete SCREEN if it is a
  11333.     surrogate minibuffer for some other screen, not just if it's the
  11334.     global minibuffer screen.
  11335.     (Fredirect_screen_focus, Fscreen_focus): New function.
  11336.     (syms_of_screen): defsubr Sredirect_screen_focus.
  11337.     * window.c: Don't include termhooks.h or stdio.h.
  11338.     (Fselect_window): Removed grunge to support minibuffer hack.
  11339.     * screen.h (struct screen): Added focus_screen member, and
  11340.     accessor for it.
  11341.     * alloc.c (mark_object): mark focus_screen member of Lisp_Screens.
  11342.     * xterm.c (XTscreen_rehighlight): Use the focus_screen member to
  11343.     decide which screen to highlight.
  11344.     (XTread_socket): Use focus_screen when enqueuing keystrokes.
  11345.     * minibuf.c (read_minibuf, read_minibuf_unwind): Shift the
  11346.     selected screen's focus around appropriately.
  11347.     * termhooks.h (screen_rehighlight_hook): Doc fix.
  11348.  
  11349.     * lisp.h (CHECK_IMPURE): Moved definition...
  11350.     * puresize.h (CHECK_IMPURE): To here.
  11351.  
  11352. Thu Jul 25 08:06:22 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11353.  
  11354.     * dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it.
  11355.  
  11356.     * xterm.c (XTscreen_rehighlight): Neatened sloppy logic.
  11357.     
  11358.     * keyboard.c (read_key_sequence): When truncating a key sequence,
  11359.     don't forget to put the new keystroke back in this_command_keys.
  11360.     Do this before calling echo_truncate, and don't call echo_char.
  11361.  
  11362. Wed Jul 24 00:17:54 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11363.  
  11364.     * xterm.c (x_term_init): Initialize x_focus_screen and
  11365.     x_highlight_screen.
  11366.  
  11367.     * xterm.c (XTscreen_rehighlight): Handle things correctly when
  11368.     x_focus_screen is 0.
  11369.     (XTread_socket): Process EnterNotify and LeaveNotify events with
  11370.     .focus == 0 properly.  For FocusOut events, pass the right
  11371.     arguments to x_new_focus_screen.
  11372.  
  11373.     * fileio.c (Finsert_file_contents): Use RETURN_UNGCPRO macro.
  11374.  
  11375.     * buffer.c (Fbuffer_name): Fix typo in doc string.
  11376.     (syms_of_buffer): Fix typo in before_change_function name.
  11377.  
  11378. Tue Jul 23 10:41:43 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11379.  
  11380.     * screen.h (CHECK_SCREEN): Define a dummy version of this when
  11381.     MULTI_SCREEN is not defined.
  11382.  
  11383.     * sysdep.c (init_signals, sys_signal, sys_sigpause): New functions.
  11384.     (sys_sigblock, sys_sigunblock, sys_sigsetmask): New functions.
  11385.  
  11386.     * sysdep.c (_sobuf): Unsigned chars if DGUX.
  11387.  
  11388.     * sysdep.c [DGUX]: Include file.h.
  11389.     [DGUX] (sys_siglist): New variable.
  11390.  
  11391.     * x11term.c (x_init_1) [SYSV_STREAMS]: Don't close the old
  11392.     descriptor.
  11393.  
  11394.     * keyboard.c (read_key_sequence): Treat function keys like ascii
  11395.     characters.
  11396.  
  11397.     * lread.c (init_lread, syms_of_lread): New names for init_read and
  11398.     syms_of_read, for consistency.
  11399.  
  11400.     * emacssignal.h: New file.
  11401.     * data.c, keyboard.c, process.c, sysdep.c: Include it.
  11402.     * data.c (arith_error): Use SIGEMPTYMASK.
  11403.     * keyboard.c (sigfree, sigunblockx): Use SIGEMPTYMASK.
  11404.     (sigholdx, sigblockx): Use sigmask.
  11405.     (gobble_input): Use sigblockx instead of sigholdx, so that any
  11406.     other blocked signals stay blocked during and after the call to
  11407.     read_avail_input.
  11408.     * process.c (create_process): Use sigmask.
  11409.     [FASYNC] (request_sigio): Use sigunblock.
  11410.     * xterm.c (sigmask): Removed #definition here.
  11411.     * ymakefile (keyboard.o, process.o, sysdep.o, data.o): Make these
  11412.     depend on emacssignal.h.
  11413.  
  11414.     * window.c (Fselect_window): Modify surrogate minibuffer hack to
  11415.     make the minibuffer the selected window of the selected screen,
  11416.     AND select the minibuffer window's screen.
  11417.     * minibuf.c (read_minibuf): If the minibuffer window is on a
  11418.     different screen, save that screen's configuration too.
  11419.  
  11420.     * window.c (Fset_window_configuration): Use SCREEN_ accessor to
  11421.     get at a screen's root window.  Removed unused variable
  11422.     screen_to_select.
  11423.     (Fcurrent_window_configuration): Take an optional argument SCREEN.
  11424.     All callers changed.
  11425.  
  11426.     * window.c (auto_new_screen, Vauto_new_screen_function): Renamed
  11427.     to pop_up_screens and pop_up_screen_function, to be parallel with
  11428.     pop_up_windows.
  11429.     (display_buffer, syms_of_window): Changed appropriately.
  11430.  
  11431.     * fns.c (Fload_average) [DGUX]: Add code to support DGUX.
  11432.  
  11433.     * s-dgux.h, m-aviion.h: New files.
  11434.  
  11435.     * emacs.c (main) [POSIX_SIGNALS]: Call init_signals.
  11436.  
  11437.     * screen.c (Fdelete_screen): Update last_nonminibuf_screen if
  11438.     the screen it's currently pointing to gets deleted.
  11439.  
  11440. Mon Jul 22 21:05:18 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11441.  
  11442.     * screen.c (last_nonminibuf_screen): New variable.
  11443.     (Fselect_screen): Set last_nonminibuf_screen if appropriate.
  11444.  
  11445. Sun Jul 21 07:37:09 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11446.  
  11447.     * screen.h (last_nonminibuf_screen): Added declarations for new
  11448.     variable. 
  11449.     * minibuf.c (active_screen): Variable removed.
  11450.     (read_minibuf): Removed code to set and clear active_screen.
  11451.     * window.c (Fdisplay_buffer): Rewritten to use
  11452.     last_nonminibuf_screen.
  11453.  
  11454.     * screen.c (next_screen): Use SCREEN_ accessors instead of ->. 
  11455.  
  11456.     * window.c (Fdisplay_buffer): Removed reference to
  11457.     Fx_create_screen; we should rely on the auto-new-screen-function
  11458.     being set to something appropriate.
  11459.  
  11460. Sun Jul 21 00:58:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11461.  
  11462.     * keyboard.c (read_key_sequence): Restore the state of
  11463.     this_command_key_count along with the echoing state.
  11464.  
  11465. Sat Jul 20 18:42:59 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11466.  
  11467.     * xfns.c (Fx_synchronize): New function.
  11468.     (syms_of_xfns): defsubr it.
  11469.  
  11470.     * xdisp.c (redisplay): Don't turn on all_windows whenever we're
  11471.     using a separate minibuffer screen.  Even if there is some tweak
  11472.     necessary, this wasn't it.
  11473.  
  11474.     * process.c (status_notify): Do not forget to UNGCPRO.
  11475.  
  11476.     * screen.c (next_screen): Re-work logic to skip minibuffer-only
  11477.     screens so that it doesn't loop indefinitely, even when the only
  11478.     screen is a minibuffer-only screen.  Skip all screens that are
  11479.     only minibuffers, not just when they are the global minibuffer
  11480.     screen.
  11481.  
  11482.     * xdisp.c (message, message1): If the screen's message buffer
  11483.     is 0, toss the message; don't check the window system against
  11484.     the screen output_method.
  11485.  
  11486. Fri Jul 19 07:42:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11487.  
  11488.     * keyboard.c (read_key_sequence): When we truncate the echo
  11489.     buffer because the user has switched screens, re-echo the
  11490.     character that caused the truncation.
  11491.  
  11492.     * lread.c (Fload): Change "source newer than ..." message not to
  11493.     refer to "libraries."  What is a "library," anyway?
  11494.  
  11495.     * window.c: #include "termhooks.h", and therefore <stdio.h> too.
  11496.     [MULTI_SCREEN] (Fselect_window): If the window being selected is
  11497.     the selected screen's minibuffer, but it lives on another screen,
  11498.     don't select that other screen - call the screen_rehighlight_hook
  11499.     instead.
  11500.     * termhooks.h (screen_rehighlight_hook): New hook, so that Emacs
  11501.     can shift the screen highlighting when needed.
  11502.     * term.c (screen_rehighlight_hook): Define it.
  11503.     * xterm.c (x_highlight_screen): New variable.
  11504.     (x_new_focus_screen): Move the rehighlighting code to...
  11505.     (XTscreen_rehighlight): New function.
  11506.     (x_display_bar_cursor, x_display_box_cursor): Use
  11507.     x_highlighted_screen instead of x_focus_screen.
  11508.     (x_term_init): Initialize screen_rehighlight_hook.
  11509.     * ymakefile: Make window.o depend on termhooks.h.
  11510.  
  11511.     * xfns.c (Fx_create_screen): Add mention of
  11512.     global-minibuffer-screen to docstring.
  11513.     * screen.c (make_screen_without_minibuffer): Improve error message
  11514.     displayed when Vglobal_minibuffer_screen is not a proper screen.
  11515.  
  11516. Thu Jul 18 01:56:23 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11517.  
  11518.     * config.h (PURESIZE): Definition moved to...
  11519.     * puresize.h: New file.
  11520.     (PURESIZE): Define this here.  This will allow people to change
  11521.     their pure storage allocation without having to recompile most of
  11522.     Emacs.
  11523.     * data.c: #include puresize.h, since CHECK_IMPURE needs PURESIZE.
  11524.     * alloc.c: #include puresize.h.
  11525.     [HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend
  11526.     on PURESIZE.
  11527.     [HAVE_SHM] (init_alloc_once): Initialize pure_size here.
  11528.     * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size,
  11529.     instead of PURESIZE.
  11530.     (pure_size): extern declaration added here.    
  11531.     * ymakefile: Added puresize.h to dependencies for alloc.c and
  11532.     data.c's .o files.
  11533.  
  11534.     * emacs.c (main): Doc fix for kludge to scan for -d.
  11535.  
  11536. Wed Jul 17 01:21:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11537.  
  11538.     * termhooks.h (struct input_event): #if 0'd out the definition for
  11539.     the screen_selected event type, and added the stipulation that the
  11540.     {non_,}ascii_keystroke events specify the screen they happen in.
  11541.     * xterm.c (x_new_focus_screen): Don't enqueue a screen_selected
  11542.     event.
  11543.     (XTread_socket): Calls to x_new_focus_screen in the EnterNotify,
  11544.     FocusIn, LeaveNotify, and FocusOut event code don't worry about
  11545.     enqueued events any more.
  11546.     * keyboard.c (new_selected_screen): Removed - see below.
  11547.     (Vlast_event_screen): New variable, visible to lisp code.
  11548.     (echo_length, echo_truncate): New functions.
  11549.     (readable_events): Removed screen_selected events from the set of
  11550.     things to skip.
  11551.     (kbd_buffer_store_event): Don't bother collapsing consecutive
  11552.     screen_selected events.
  11553.     (kbd_buffer_read_char): Don't process screen_selected events.
  11554.     (make_lispy_event): Re-arrange scrollbar events to put the window
  11555.     whose scrollbar was diddled right after the identifying symbol,
  11556.     for consistency.
  11557.     (read_key_sequence): Let the selected screen and the location of
  11558.     the event affect the keymap used to find its binding.
  11559.     (Fread_key_sequence): Update docstring.
  11560.     (syms_of_keyboard): Added DEFVAR_LISP for Vlast_event_screen.
  11561.  
  11562. Mon Jul 15 21:17:11 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11563.  
  11564.     * screen.c (next_screen): If !mini_screen, only exclude the global
  11565.     minibuffer screen when the minibuffer is its only window.
  11566.     (Fnext_screen): Make the docstring clearer about what MINISCREEN
  11567.     means.
  11568.  
  11569.     * window.c (Fother_window): Indicate that it takes both a required
  11570.     and optional argument, instead of just one required.
  11571.  
  11572. Mon Jul 15 17:10:19 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  11573.  
  11574.     * buffer.c (Fkill_buffer): Rehacked kill-buffer-hooks to use
  11575.     standard name kill-buffer-hook, and to use set_buffer_internal
  11576.     instead of Fset_buffer.  Use static variable containing symbol
  11577.     instead of intern.
  11578.     (syms_of_buffer, init_buffer_once): Qkill_buffer_hook =
  11579.     'kill-buffer-hook.
  11580.  
  11581. Mon Jul 15 05:35:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11582.  
  11583.     * keymap.c (Fsingle_key_description): When describing a listy
  11584.     object, take the car to find the symbol that heads it, not the cdr.
  11585.  
  11586.     * dispnew.c (buffer_posn_from_coords): Pass col and line to
  11587.     compute_motion in the correct order.
  11588.  
  11589.     * keyboard.c (make_lispy_event): When calculating rows and columns
  11590.     for mouse clicks and movement events, don't forget to subtract the
  11591.     position of the window's top left corner before passing them to
  11592.     buffer_posn_from_coords.
  11593.  
  11594.     * screen.c (coordinates_in_window): Removed useless test for *y ==
  11595.     screen_height, and screen_height variable; this would be out of
  11596.     range of all the windows anyway.
  11597.  
  11598.     * xdisp.c (message1): Removed code to ignore messages before X has
  11599.     started up; this issue has hopefully been addressed by the
  11600.     condition-case in startup.el.
  11601.  
  11602.     * editfns.c (init_editfns): Make user_name char * instead of
  11603.     unsigned char *, since that's what most of the usages seem to
  11604.     want.  And when expanding ampersands in AMPERSAND_FULL_NAME mode,
  11605.     don't try to use user_name as a string; use Vuser_name.
  11606.  
  11607.     * minibuf.c (assoc_for_completion): New function.
  11608.     (do_completion): Use that to check for exact match.
  11609.  
  11610.     * minibuf.c (Ftry_completion):  Fix handling of matches aside from
  11611.     case.  If ignoring case, and all else equal, try to preserve the
  11612.     case of the characters in the input.
  11613.  
  11614.     * process.c (status_notify): GCPRO tail.
  11615.  
  11616.     * sysdep.c (creat_copy_attrs, rename_sans_version):  Always set
  11617.     protection to O:REWD when creating file.  Added new function
  11618.     rename_sans_version, which strips the version number from the target
  11619.     filename, renames the temporary file to this filename,  and then
  11620.     sets the file protection of this new file to be the same as the file
  11621.     being edited.
  11622.  
  11623.     * sysdep.c [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
  11624.     (F_SETFL) [VMS]: Undefine this, to control conditionals.
  11625.     (getpwnam): Make `full' unsigned.
  11626.     (creat_copy_attrs): Add some casts.
  11627.     (sys_access): Change prvmask and CHECKPRIV to use bitfields.
  11628.     Add some casts, and make dummy an unsigned short int.
  11629.     Don't use & on constants.
  11630.     (vmserrstr): Add a cast.
  11631.     (sys_creat): Define va_count before this function.
  11632.  
  11633. Sun Jul 14 18:13:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11634.  
  11635.     * sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant.
  11636.     [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
  11637.     (bzero, bcopy) [VMS]: Don't take address of `length'.
  11638.  
  11639.     * sysdep.c (sys_suspend): Cast value of `signal' to insulate from
  11640.     changed value type in sysV.3.
  11641.  
  11642.     * sysdep.c (child_setup_tty): Turn off erase & kill chars for BSD.
  11643.  
  11644.     * sysdep.c (discard_tty_input): Use TIOCFLUSH on Apollo.
  11645.     (init_sys_modes): Avoid TIOCSTART on Apollo.
  11646.  
  11647.     * sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in
  11648.     terms of the TIOCGETP ioctl.
  11649.     (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.
  11650.     (discard_tty_input, init_baud_rate, child_setup_tty,
  11651.     init_sys_modes, tabs_safe_p, reset_sys_modes):
  11652.     Use tcgetattr, and if HAVE_TCATTR, use tcsetattr.
  11653.  
  11654. Sat Jul 13 01:02:53 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  11655.  
  11656.     * s-hpux8.h: New file.
  11657.     * fileio.c [HPUX8]: Don't include errnet.h.
  11658.  
  11659.     * unexhp9k800.c (unexec): Local variable i to avoid compiler bug?
  11660.  
  11661.     * sysdep.c (insque) [WRONG_NAME_INSQUE]: New function.
  11662.     * s-386ix.h (WRONG_NAME_INSQUE): Define it.
  11663.  
  11664.     * xdisp.c (message_buf_print): New variable.
  11665.     (message): Clear it here.
  11666.     * dispextern.h: Declare it here.
  11667.     * print.c (printchar, strout): Set it and test it here.
  11668.  
  11669.     * keyboard.c (command_loop_1): Don't clear last_command when start
  11670.     macro.
  11671.  
  11672.     * keyboard.c (read_command_char): Exit at eof if noninteractive.
  11673.  
  11674.     * indent.c (invalidate_current_column): New function.
  11675.     * editfns.c (Fwiden, Fnarrow_to_region): Call it.
  11676.  
  11677.     * process.c (create_process): Use O_NOCTTY whenever defined,
  11678.     unless USG.
  11679.  
  11680.     * process.c (Fprocess_send_eof): If using a pipe, close it.
  11681.     (close_process_descs): Check IN and OUT for nonzeroness. 
  11682.  
  11683.     * process.c (process_send_signal): Use interrupt chars
  11684.     to send certain signals to the process group.
  11685.     (TIOCGETC): Undefine this if it is not really usable.
  11686.  
  11687.     * sysdep.c (discard_tty_input): Do nothing if read_socket_hook.
  11688.  
  11689.     * xfns.c (x_set_mouse_color): Change the default pointer shapes to
  11690.     be closer to xterm and emacs 18.
  11691.  
  11692.     * xterm.c (x_focus_on_screen, x_unfocus_screen): These no longer
  11693.     call XSetInputFocus, because I think that the X-windows ICCCM
  11694.     says that only the window manager can do this sort of thing.
  11695.  
  11696.     * keyboard.c (read_char): When there is an unread command
  11697.     character, goto reread_first when this_command_key_count is zero,
  11698.     not when it is >= 0.
  11699.     (command_loop_1): Reset this_command_key_count only if there is no
  11700.     prefix argument.  This makes echoing of keystrokes work correctly.
  11701.  
  11702. Thu Jul 11 23:55:01 1991  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  11703.  
  11704.     * eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to
  11705.     "XTYPE (foo) != bar".
  11706.  
  11707. Thu Jul 11 17:03:10 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11708.  
  11709.     * eval.c (apply1): Don't forget to UNGCPRO before returning.
  11710.  
  11711.     * xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling
  11712.     will call XTins_del_lines when the screen matrix is inaccurate, so
  11713.     we cannot undisplay the cursor then, but do_scrolling is always
  11714.     called within an update.
  11715.  
  11716. Wed Jul 10 19:58:18 1991  David J. MacKenzie  (djm at nutrimat)
  11717.  
  11718.     * termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy
  11719.     in terms of memcpy.
  11720.  
  11721. Tue Jul  9 18:36:25 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11722.  
  11723.     * scroll.c (do_scrolling): Use correct termination condition for
  11724.     loop that uses the glyph pointers for the deleted lines to fill in
  11725.     the inserted lines.
  11726.  
  11727. Mon Jul  8 21:28:23 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11728.  
  11729.     * editfns.c: Doc fix.
  11730.  
  11731. Wed Jul  3 05:47:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11732.  
  11733.     * dispnew.c (line_hash_code): Test m->highlight[vpos], not
  11734.     m->highlight.  All lines were getting hash codes of -1, because
  11735.     the highlight vector was never NULL.  Golly.
  11736.  
  11737.     * process.c (list_processes_1): Handle status of network streams.
  11738.  
  11739. Tue Jul  2 22:10:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11740.  
  11741.     * doc.c (Fdocumentation_property):
  11742.     Pass only strings to Fsubstitute_command_keys.
  11743.  
  11744. Tue Jul  2 17:01:02 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11745.  
  11746.     * editfns.c (init_editfns): If neither of the environment
  11747.     variables are set, DON'T set Vuser_name to Vuser_real_name; it's
  11748.     supposed to reflect the EFFECTIVE uid.
  11749.     Get the full name according to Vuser_name if it differs from
  11750.     Vuser_real_name, not if they are equal.
  11751.     And pass Vuser_name to getpwnam in that case instead of user_name,
  11752.     which might be 0.
  11753.  
  11754.     * lisp.h (RETURN_UNGCPRO): New macro.
  11755.     
  11756.     * bytecode.c (Fbyte_code): Do not remove GC protection from the
  11757.     stack when making a function call, because the caller is
  11758.     responsible for protecting the arguments to a MANY-arg'ed
  11759.     function.
  11760.     * eval.c (Fapply): If we use funcall_args, GCPRO it.
  11761.     And when we call Ffuncall with funcall_args, tell it the correct
  11762.     length of funcall_args, no matter which branch allocated it.
  11763.     (Ffuncall): Don't gcpro the arguments before calling
  11764.     Fgarbage_collect.
  11765.     (Feval): If we're calling a subr that takes MANY args, don't
  11766.     UNGCPRO until after we call the subr.
  11767.     (apply1, call0, call1, call2, call3): GCPRO the arg arrays passed
  11768.     to Ffuncall and Fapply.
  11769.     * callproc.c (Fcall_process, Fcall_process_region): Don't GCPRO
  11770.     the argument array.
  11771.     * editfns.c (Finsert, Finsert_before_markers): Don't GCPRO the
  11772.     argument array.  Added comment about when GCPROing is not needed.
  11773.     * mocklisp.c (Finsert_string): Don't GCPRO the argument array.
  11774.  
  11775.     * keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal
  11776.     on any system that has HAVE_TERMIO, not just on USG systems.
  11777.  
  11778. Mon Jul  1 12:20:34 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11779.  
  11780.     * editfns.c (init_editfns): Test that user_name isn't 0.
  11781.  
  11782. Sat Jun 29 12:25:43 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11783.  
  11784.     * search.c: Doc fixes.
  11785.  
  11786. Fri Jun 28 11:22:05 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11787.  
  11788.     * keyboard.c (make_lispy_event): Let the posns of mouse clicks and
  11789.     mouse movements be nil when window_from_coordinates returns a
  11790.     NON-window, not when it returns a window.  Since posn is a lisp
  11791.     object, don't call make_number when consing up the event.
  11792.     Don't call make_number on the code member of the event.
  11793.  
  11794.     * keyboard.c (struct movement): Make the x, y, and time members
  11795.     Lisp_Objects, since it's easier to convert from a Lisp_Object than
  11796.     to.
  11797.     (note_mouse_position): Adjusted for the above.
  11798.     (make_lispy_event): Removed code to make Lisp_Objects for those
  11799.     members.
  11800.  
  11801.     * xterm.c (XTread_socket): When handling LeaveNotify events,
  11802.     remember that the focus member of the event is true when the
  11803.     receiving window now has the focus, not when it is losing it.
  11804.     * xfns.c (Ffocus_screen): Don't signal an error if SCREEN is
  11805.     already the focus screen.
  11806.  
  11807. Wed Jun 26 10:35:34 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11808.  
  11809.     * alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to
  11810.     determine how large the string should be, and changed doc string
  11811.     to describe ropes as strings of glyphs, not just as strings of
  11812.     character pairs.
  11813.     (Frope_elt): Use sizeof (GLYPH) as the element size, instead of
  11814.     assuming that the elements are two bytes.
  11815.     * lisp.h (typedef GLYPH): Moved the definition from here...
  11816.     * config.h (typedef GLYPH): to here, so people can elect to get
  11817.     better performance if they don't want to use huge fonts.
  11818.     * xterm.c (dumpglyphs): Use XDrawImageString or
  11819.     XDrawImageString16, Depending on sizeof (GLYPH).
  11820.     
  11821.     * data.c (Fsetq_default): Call Fset_default to do the assignments,
  11822.     not plain Fset.
  11823.  
  11824.     The following changes were contributed by Jamie Zawinski
  11825.     <jwz@lucid.com>:
  11826.  
  11827.     * bytecode.c (Fbyte_code): BYTE_CODE_SAFE and BYTE_CODE_METER
  11828.     options added.
  11829.     Added Bmark, Bscan_buffer, Bset_mark to support error-checking for
  11830.     these obsolete bytecodes.
  11831.     Added Bunbind_all to support tail-call optimization (not yet
  11832.     implemented).
  11833.     Did NOT add the relative branch opcodes that were in the version
  11834.     of bytecode.c that Jamie sent.
  11835.     The branching bytecodes now only QUIT if they take the branch.
  11836.     Btemp_output_buffer_show, Bforward_char, Bforward_word,
  11837.     Bskip_chars_forward, Bskip_chars_backward, and Bforward_line
  11838.     passed the wrong number of arguments to their subrs. 
  11839.     Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region,
  11840.     Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq,
  11841.     Bsetcar, and Bsetcdr passed arguments to the subr in the wrong
  11842.     order.
  11843.  
  11844. Tue Jun 25 16:49:50 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  11845.  
  11846.     * doc.c (Fdocumentation): Added a QUIT test to the loop that finds
  11847.     the symbol's function value.
  11848.  
  11849. Mon Jun 24 18:48:03 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11850.  
  11851.     * xterm.c (dumprectangle): Removed call to XFlushQueue here.
  11852.  
  11853.     * keyboard.c (command_loop_1): Call Fselect_screen to establish
  11854.     the new selected screen after the key sequence has been read, not
  11855.     at the top of the loop.  This way, a key sequence will happen in
  11856.     the screen it was typed at, or (to be more precise) the screen its
  11857.     last character was typed at.
  11858.  
  11859.     * keyboard.c (fast_read_one_key): Function deleted, since it had
  11860.     been #if 0'd out a long time ago.
  11861.     (command_loop_1): Support for fast_read_one_key removed.
  11862.  
  11863.     * eval.c (Ffuncall): Do GCPRO the arguments, contrary to the May
  11864.     16 change.  The convention appears to be that the MANY-arged
  11865.     callee must protect its own arguments.
  11866.     (Fapply): Don't protect funcall_args; they are the caller's
  11867.     responsibility.
  11868.     * bytecode.c (Fbyte_code): GCPRO the section of the stack *above*
  11869.     the args to Ffuncall, since it will be protected again once
  11870.     Ffuncall returns and therefore should stay valid.  If it is not
  11871.     protected, string relocation may make it invalid.
  11872.     * mocklisp.c (Finsert_string): GCPRO the arguments, since insert
  11873.     may cause a garbage collection.
  11874.     * editfns.c (Finsert, Finsert_before_markers): GCPRO the
  11875.     arguments, since insert may cause a garbage collection.
  11876.     * callproc.c (Fcall_process, Fcall_process_region): GCPRO the
  11877.     arguments, since insert may cause a garbage collection.
  11878.  
  11879. Thu Jun 20 06:24:19 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11880.  
  11881.     * buffer.h (struct buffer_text, struct buffer): small change to
  11882.     comments.
  11883.  
  11884.     * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to
  11885.     indicate that non-regexp searches set these too.
  11886.  
  11887.     * window.c (Fset_window_start): If window is not the selected
  11888.     window, set windows_or_buffers_changed, so that redisplay will
  11889.     know that it should redisplay the window.
  11890.  
  11891.     * callint.c (Finteractive): Changed doc string to indicate that
  11892.     the interactive prompts are passed through format.
  11893.  
  11894. Thu Jun 20 00:21:31 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  11895.  
  11896.     * buffer.c (syms_of_buffer): buffer-undo-list doc fix.
  11897.  
  11898. Tue Jun 11 18:18:27 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  11899.  
  11900.     * data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now
  11901.     parallel to setq.
  11902.  
  11903. Sat May 25 00:38:22 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11904.  
  11905.     * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so
  11906.     that we always process/toss events we don't want to return.
  11907.  
  11908.         * screen.c (Fselect_screen): Call Ffocus_screen instead of
  11909.     x_new_selected_screen, which doesn't exist anymore.
  11910.  
  11911.     * xfns.c (Ffocus_screen): Declare the type of the SCREEN argument.
  11912.  
  11913.     * xfns.c (Fx_track_pointer): Function #if 0'd out - I don't think
  11914.     that this is a feature that we want.
  11915.     (syms_of_xfns): Elide the defsubr for the above.
  11916.  
  11917.     * xterm.c (x_mouse_screen, x_input_screen): Variable deleted,
  11918.     since all we really need is x_focus_screen; all other issues are
  11919.     the realm and responsibility of the window manager.
  11920.     (x_new_selected_screen): Renamed to x_new_focus_screen, and
  11921.     modified not to do thiogs inappropriate for signal handlers.
  11922.     (XTread_socket): Change the handling of EnterNotify, LeaveNotify,
  11923.     FocusOut and FocusIn events to use x_new_selected_screen, and
  11924.     ditched code that deals with x_mouse_screen and x_input_screen,
  11925.     since they don't exist anymore.
  11926.     (x_display_bar_cursor, x_display_box_cursor): Compare s with
  11927.     x_focus_screen to see what form the cursor should take.
  11928.     (x_destroy_window): Don't bother with x_input_screen.
  11929.     * xfns.c (x_mouse_screen): Removed extern declaration for this.
  11930.     (Fx_grab_pointer): Confine the pointer to x_focus_screen, not
  11931.     x_mouse_screen.  This is wrong, but will make emacs compile until
  11932.     this gets fixed.
  11933.  
  11934. Thu May 23 18:52:13 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11935.  
  11936.     * keyboard.c (get_input_pending): Don't use trim_events; use
  11937.     readable_events instead.
  11938.  
  11939.     * keyboard.c (make_lispy_event): Remove case for window_sys_event,
  11940.     since that type of event doesn't exist anymore.
  11941.  
  11942.     * minibuf.c (Fcompleting_read): Document the backup-n argument.
  11943.  
  11944.     * dispnew.c (init_display): Don't declare alternate_display extern
  11945.     here.  I can't figure out what this feature is, and it's broken.
  11946.     * emacs.c (main): Don't test alternate_display and put its value
  11947.     in the environment.
  11948.  
  11949. Wed May 22 18:47:28 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11950.  
  11951.     * keyboard.c (struct movement): Made .used an int instead of a
  11952.     char, since that's more likely to be stored atomically on SPARCS
  11953.     and similar machines. 
  11954.  
  11955.     * termhooks.h (struct input_event): Removed the window_sys_event,
  11956.     since it's not used anywhere.  Added screen_selected event type.
  11957.     The event handling code used to change the current buffer,
  11958.     selected window, and selected screen out from under running lisp
  11959.     code.  Now we wait for a more convenient time by enqueuing an
  11960.     event.
  11961.     * xterm.c (XTread_socket): When handling FocusIn events and
  11962.     EnterNotify events with the focus member set, enqueue a
  11963.     selected_screen event instead of calling x_new_selected_screen.
  11964.     * keyboard.c (trim_events): Function deleted; it is a bad idea to
  11965.     delete events based on the current tracking state, since tracking
  11966.     might be re-enabled later.
  11967.     (readable_events): New function which searches the input queue for
  11968.     readable events.
  11969.     (tracking_off): Call readable_events to see if we should
  11970.     redisplay.
  11971.     (kbd_buffer_read_char):    Toss events that we are not interested in.
  11972.     This is a better place to do it than trim_events, since we know
  11973.     that do_mouse_tracking will not change.  Also, handle
  11974.     screen_selected events.
  11975.     (new_selected_screen): New variable, holding the screen which
  11976.     should become selected the next time through command_loop_1.
  11977.     (syms_of_keyboard): Initialize and staticpro new_selected_screen.
  11978.     (command_loop_1): If there is a new screen to be selected, do so.
  11979.  
  11980. Tue May 21 20:30:04 1991  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  11981.  
  11982.     * xdisp.c (message): Removed the if at the top that did not
  11983.     display messages if the current screen was a termcap screen and a
  11984.     window system will be used.  The change to startup.el on May 18,
  11985.     1991 replaces this.
  11986.  
  11987.     * ralloc.c (check_memory_limits): If the address returned by the
  11988.     allocator is not representable in a Lisp_Object, call memory_full
  11989.     instead of printing a very silly "warning" message.
  11990.  
  11991. Sun May 19 18:04:39 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11992.  
  11993.     * xterm.c (XTread_socket): Don't overwrite the end of the buffer
  11994.     with function keys.
  11995.  
  11996.     * keyboard.c (tracking_off): Update input_pending after reading
  11997.     all the input.
  11998.     * process.c: #include "screen.h".
  11999.     (wait_reading_process_input): Check if any screens have been newly
  12000.     mapped and need updating.
  12001.     * xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the
  12002.     screen is unmapped; do this when is mapped.
  12003.     (dumprectangle): Don't dump any data for garbaged screens.
  12004.  
  12005. Sat May 18 14:18:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12006.  
  12007.     * sysdep.c (init_sys_modes): Moved the clauses that set up
  12008.     interrupt-driven input out of the "if running on a terminal"
  12009.     clause, since these may need to be set up even when running on a
  12010.     window system.
  12011.  
  12012. Fri May 17 15:05:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12013.  
  12014.     * process.c (Fprocess_status): For network connections, return
  12015.     Qopen and Qclosed instead of Qrun and Qexit, as documented.
  12016.  
  12017.     * lread.c (read1): Removed code that treated numbers starting with
  12018.     a zero as octal.
  12019.  
  12020. Thu May 16 09:58:09 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  12021.  
  12022.     * eval.c (Ffuncall): Don't gcpro the arguments; the caller
  12023.     protects them.
  12024.     (Fapply): Gcpro funcall_args, if we use them.
  12025.  
  12026.     * xterm.c (notice_mouse_movement): #if 0'd this function out.
  12027.     (XTread_socket): #if 0 the code that fakes motion events for
  12028.     moving in and out of windows.  Also, rearrange the MotionNotify
  12029.     case to give character rows and columns to note_mouse_position,
  12030.     not pixel x and y positions.  Don't deal with scrollbars here.
  12031.     * termhooks.h (struct input_event): Removed the mouse_movement
  12032.     event kind.
  12033.     * keyboard.c (movement_buf): A new buffer for mouse-movement events.
  12034.     This is hairier than you might think; see the comments for this
  12035.     and the comments for note_mouse_position and get_mouse_position
  12036.     for an explanation of why this is hairy.
  12037.     (movement_ptr): Where the event handler should store new mouse
  12038.     locations.
  12039.     (EVENT_QUEUES_EMPTY): New macro, to be used in the places that
  12040.     used to compare kbd_fetch_ptr to kbd_store_ptr to see if there
  12041.     were any events available; this macro tests the mouse movement
  12042.     buffer too.
  12043.     (Qmouse_movement): New symbol to head mouse movement events with.
  12044.     (trim_events): Mouse movement events are no longer in kbd_buffer,
  12045.     so don't try to trim them.
  12046.     (tracking_off, kbd_buffer_read_char, get_input_pending): Use
  12047.     EVENT_QUEUES_EMPTY.
  12048.     (get_mouse_position): New function to retrieve a mouse position
  12049.     from the buffer properly, no matter when the event-handling signal
  12050.     occurs.
  12051.     (kbd_buffer_read_char): If there is something in kbd_buffer, make
  12052.     an event for that; if there is a mouse movement, make an event for
  12053.     that; otherwise, the while loop lied.
  12054.     (make_lispy_event): Added code to produce mouse movement events.
  12055.     (init_keyboard): Clear the mouse movement buffer.
  12056.     (Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
  12057.     Qexited_window, Qexited_scrollbar): Removed extern declarations
  12058.     for these, since they're no longer generated.
  12059.     (syms_of_keyboard): Initialize and staticpro Qmouse_movement,
  12060.     remove DEFVAR_LISP for Vignore_mouse_events.
  12061.  
  12062. Tue May 14 12:45:20 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  12063.  
  12064.     * lread.c (read1): Correctly parenthesize the shift when parsing
  12065.     octal numbers, and signal an error if we see a non-octal digit.
  12066.  
  12067. Mon May 13 11:28:07 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  12068.  
  12069.     * keyboard.c (trim_events): New function, to remove uninteresting
  12070.     events from the input queue.
  12071.     (get_input_pending): Call trim_events before checking the queue,
  12072.     so as not to advertise input we don't care about.
  12073.     (Ftrack_mouse): A new function to enable mouse tracking for a
  12074.     block of code.
  12075.     (tracking_off): A function for unwind_protection; restore the
  12076.     mouse tracking state to what it was outside of the track-mouse
  12077.     (syms_of_keyboard): defsubr track-mouse.
  12078.     (make_lispy_event): Find the window io which the click occurred
  12079.     when processing mouse_click events, instead of trusting the window
  12080.     tree in the signal-handling code.  Include the buffer position in
  12081.     the click event.
  12082.  
  12083.     * xterm.c (construct_mouse_click): Return the click's screen, not
  12084.     its window, and don't bother updating Vmouse_window.  Calculate
  12085.     the row and column of text-area clicks using
  12086.     pixel_to_glyph_translation, since we know that those data
  12087.     structures are alive in signal handlers.
  12088.  
  12089.     * screen.c (window_from_coordinates,
  12090.     Flocate_window_from_coordinates): Moved these to window.c, since I
  12091.     need to be able to call them even if we don't have multi-screen
  12092.     support.
  12093.     (syms_of_screen): Removed defsubr for
  12094.     Flocate_window_from_coordinates.
  12095.     * window.c (window_from_coordinates, Flocate_window_from_coordinates):
  12096.     Here they are.
  12097.     (syms_of_window): Here is the defsubr.
  12098.  
  12099.     * keyboard.c (note_mouse_position): New function to enqueue
  12100.     mouse movement events properly.
  12101.     (current_movement_event): New variable, to support the above.  See
  12102.     its comment for more explanation.
  12103.  
  12104.     * termhooks.h (struct input_event): Change the .window member to
  12105.     .screen, make it a struct screen *, and indicate that those events
  12106.     which used to return    windows now return screens.  It is unsafe
  12107.     for the event reader to traverse the window structure, because it
  12108.     can be called by a signal handler.
  12109.  
  12110. Fri May 10 12:29:21 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  12111.  
  12112.     * keyboard.c (Vignore_mouse_events): Variable deleted.
  12113.     (make_lispy_event): For mouse and scrollbar clicks, return the
  12114.     position as a pair of numbers, not a list of two numbers.
  12115.  
  12116. Thu May  9 02:27:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  12117.  
  12118.     * keyboard.c (do_mouse_tracking): Define this variable, which
  12119.     controls whether kbd_buffer_read_char will ignore button up and
  12120.     mouse movement events.
  12121.         * termhooks.h: Declare do_mouse_tracking here.
  12122.  
  12123.         * xterm.h (STANDARD_EVENT_SET): New constant, giving the event
  12124.     mask all the windows use.
  12125.  
  12126.     * xfns.c (Vx_send_mouse_movement_events): Removed this variable;
  12127.     XTmouse_tracking_enable and do_mouse_tracking do its job better.
  12128.     (syms_of_xfns): Remove the DEFVAR_LISP for the above.
  12129.     (x_window): Don't ask for any pointer motion events or button
  12130.     release events by default; use the unmodified STANDARD_EVENT_MASK.
  12131.     The user will ask for them explicitly if he or she wants them.
  12132.     And don't ask for backing store.
  12133.  
  12134.     * xterm.c (XTmouse_tracking_enable): New function to
  12135.     request/unrequest detailed mouse tracking information of the
  12136.     server, and set the flag used by XTread_socket.
  12137.     (x_term_init): Set mouse_tracking_enable_hook to
  12138.     XTmouse_tracking_enable here.
  12139.     (XTread_socket): Handle mouse movement events by calling
  12140.     note_mouse_position.
  12141.  
  12142.     * xterm.c (XTread_socket): For MapNotify events, go ahead and set
  12143.     the screen's visible flag, so Expose events will work.  Clear the
  12144.     iconified flag.
  12145.  
  12146.     * editfns.c (Finsert_char): Return immediately if n <= 0, not just
  12147.     if n < 0, so that the `while' below does not become an infinite
  12148.     loop.
  12149.  
  12150.     * term.c (mouse_tracking_enable_hook): Added this variable to
  12151.     allow emacs to request that the window system start or stop
  12152.     detailed mouse tracking.
  12153.     * termhooks.h (mouse_tracking_enable_hook): Declare it here.
  12154.  
  12155.     * xfns.c: Declare the functions before initializing
  12156.     x_screen_parm_table to point to them.
  12157.  
  12158.     * xterm.c (XTread_socket): Don't send Qmapped_screen,
  12159.     Qunmapped_screen, Qexited_scrollbar, Qexited_window,
  12160.     Qredraw_screen - these are not features that we want to support.
  12161.  
  12162. Tue May  7 00:42:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12163.  
  12164.     * editfns.c (Finsert_char): Let strlen be the minimum of n and
  12165.     256, not the maximum, so we use an n-byte buffer when n < 256, and
  12166.     a 256-byte buffer many times when n > 256.
  12167.  
  12168. Sun May  5 21:58:01 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  12169.  
  12170.     * keymap.c (Fkeymapp): Fixed docstring to give the right
  12171.     definition of a keymap.
  12172.  
  12173. Fri May  3 15:02:12 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12174.  
  12175.     * data.c (Fcompiled_function_p): New function.
  12176.  
  12177. Fri May  3 00:57:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12178.  
  12179.     * xfns.c (struct x_screen_parm_table): New type for recording
  12180.     information about screen parameters.
  12181.     (x_screen_parms): New table describing the existing parameters.
  12182.     (init_x_parm_symbols, x_set_screen_param): Use x_screen_parms
  12183.     instead of a large switch statement.
  12184.     (x_figure_window_size): Make the default case of the switch call
  12185.     abort instead of signalling an error, since window_prompting's
  12186.     value is internally generated.
  12187.  
  12188. Wed May  1 18:21:36 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  12189.  
  12190.     * keymap.c (describe_map_tree): GCPRO the maps variable;
  12191.     Fkey_description calls Fmapconcat, which eventually calls
  12192.     Ffuncall, which can garbage-collect.
  12193.  
  12194. Sun Apr 28 01:04:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12195.  
  12196.     * dispnew.c (buffer_posn_from_coords): Use the information in bufp
  12197.     to reduce the distance compute_motion must scan, when possible.
  12198.  
  12199. Sat Apr 27 21:56:59 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12200.  
  12201.     * keyboard.c (syms_of_keyboard): Qtop_level is initialized and
  12202.     staticpro'd in syms_of_data too.  Don't staticpro (or initialize)
  12203.     it again here.
  12204.  
  12205.     * macros.c (syms_of_macros): Since executing-macro and
  12206.     executing-kbd-macro are actually the same variable, use
  12207.     DEFVAR_LISP_NOPRO for the second one so it doesn't get staticpro'd
  12208.     twice.
  12209.  
  12210.     * process.c (syms_of_process): Don't staticpro or initialize Qexit
  12211.     here, since syms_of_eval already does this and it's bad to
  12212.     staticpro something twice.
  12213.     (Qexit): Remove declaration here, so there will be a compilation
  12214.     error if someone rearranges eval.c without fixing the Qexit stuff.
  12215.     * eval.c (syms_of_eval): Add comment here to say that
  12216.     syms_of_process cares about Qexit too.
  12217.  
  12218.     * lread.c (init_obarray): Don't staticpro Vobarray, since the
  12219.     DEFVAR_LISP in syms_of_read takes care of that.
  12220.  
  12221. Mon Apr 22 00:34:21 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12222.  
  12223.     * window.c (save_window_save): Always get the selected window's
  12224.     value of point from its buffer, not just when it's also the
  12225.     current buffer.
  12226.  
  12227.     * lisp.h (Qdisabled): Declare this here so that the keys_of_*
  12228.     files can disable the commands they define.
  12229.     * casefiddle.c (keys_of_casefiddle): Make upcase-region and
  12230.     downcase-region disabled, by default.
  12231.  
  12232. Tue Apr 16 09:39:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12233.  
  12234.     * bytecode.c (PUSH):  Alliant can't be bothered to implement the
  12235.     preincrement operator right, so use a comma.
  12236.  
  12237.      * print.c (syms_of_print): staticpro Qexternal_debugging_output.
  12238.  
  12239.     * editfns.c (clip_to_bounds): No longer static - used in window.c.
  12240.     * window.c (unshow_buffer): Use clip_to_bounds to make sure we
  12241.     change point to something legal.
  12242.  
  12243. Sun Apr 14 22:43:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12244.  
  12245.     * sysdep.c: Changes in formatting and comments.
  12246.  
  12247. Fri Apr 12 11:45:34 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  12248.  
  12249.     * editfns.c (Fbuffer_substring): Don't call make_string, because
  12250.     it may cause a compaction and move the buffer, and then copy the
  12251.     wrong data.
  12252.  
  12253.     * keyboard.c (read_char): Only GC if we've actually done enough
  12254.     consing since the last gc to make it worthwhile.
  12255.  
  12256. Thu Apr 11 09:48:53 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  12257.  
  12258.     * keymap.c (access_keymap): Canonicalize the order of the
  12259.     modifiers when you look up a symbol in a keymap, too.
  12260.     (where-is-internal): If the keymap in which we found the
  12261.     definition was reached by meta-prefix-char, replace it with the
  12262.     metized character.
  12263.  
  12264.     * eval.c (Fcondition_case): Initialize the `handler_list' member
  12265.     of the catchtag.
  12266.  
  12267.     * keyboard.c (read_char): reset recent_keys_index when it is
  12268.     greater than OR EQUAL to the number of elements in recent_keys,
  12269.     stupid.
  12270.  
  12271.     * keymap.c (access_keymap): When fetching the car of listy events,
  12272.     no need to call Fcar_safe - extract the car directly.
  12273.     * keyboard.c (read_key_sequence): Don't extract the car from listy
  12274.     events here since 1) it strips information that we need from the
  12275.     events, and 2) access_keymap will take care of that for us.
  12276.  
  12277.     * macros.c (Qexecute_kbd_macro): New variable, used by
  12278.     Fexecute_command.
  12279.     (syms_of_macros): Initialize and staticpro Qexecute_kbd_macro.
  12280.     * lisp.h: Add extern declaration for Qexecute_kbd_macro.
  12281.     * keyboard.c (Fcommand_execute): Add an entry to the command
  12282.     history for keyboard macros too.
  12283.  
  12284.     * xterm.c (XTread_socket): If we get a MappingNotify event whose
  12285.     request == MappingKeyboard, someone has changed the keyboard
  12286.     mapping, and we should get the new mapping with
  12287.     XRefreshKeyboardMapping.
  12288.  
  12289. Wed Apr 10 11:43:37 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  12290.  
  12291.     * commands.h: Declare last_command_char to be a Lisp_Object, not
  12292.     an integer (ack).
  12293.  
  12294.     * cmds.c (Fself_insert_command): If last_command_char is not an
  12295.     integer, beep.
  12296.     * minibuf.c (Fself_insert_and_exit): Same thing.
  12297.  
  12298.     * keyboard.c (format_modifiers): New function, factoring out code
  12299.     from modify_event_symbol and reorder_modifiers.
  12300.     (modify_event_symbol): Call format_modifiers instead of doing the
  12301.     work inline.
  12302.     (reorder_modifiers): New function to put the modifiers on a
  12303.     modified symbol in the canonical order.
  12304.  
  12305.     * keymap.c (modify_event_symbol): Prepend the modifiers so they
  12306.     appear in the canonical order: `M-C-S-U-'.
  12307.     (store_in_keymap): If IDX is a symbol, put the modifiers in the
  12308.     canonical order before storing.
  12309.  
  12310. Tue Apr  9 15:05:54 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12311.  
  12312.     * keymap.c (Flocal_set_key, Fglobal_set_key): When checking types
  12313.     of arguments, allow KEYS to be a vector or string, not just a
  12314.     string.
  12315.     (keymap_table): New static function to replace duplicated code in
  12316.     access_keymap and store_in_keymap.
  12317.     (access_keymap): Use keymap_table.
  12318.     (store_in_keymap): Use keymap_table, and put non-character
  12319.     definitions in dense keymaps *after* the vector.
  12320.  
  12321.     * fileio.c (directory_file_name): Remove trailing slashes from
  12322.     single-letter names like "a/" too.  Let slen be the string length,
  12323.     not one less than the string length.
  12324.  
  12325.     * keyboard.c (Fset_input_mode): Don't complain that QUIT isn't an
  12326.     ASCII character if it is nil - it is an optional parameter.
  12327.  
  12328.     * keymap.c (Faccessible_keymaps): Use meta-characters in the key
  12329.     sequences returned, carefully making sure that the sequences still
  12330.     appear in order of increasing length.
  12331.  
  12332. Thu Apr  4 14:56:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12333.  
  12334.     * vmsfns.c (vms_trnlog): Increased size of str to 256 elements.
  12335.     (vms_symbol): Increased size of str to 1025 elements.
  12336.  
  12337. Sun Mar 24 01:50:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12338.  
  12339.     * dispnew.c (pixel_to_glyph_translation): Moved this function to
  12340.     xterm.c, since it is specific to X and only called by the X code.
  12341.     * xterm.c (pixel_to_glyph_translation): Here it is.
  12342.  
  12343. Fri Mar 22 18:19:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12344.  
  12345.     * s-usg5-4.h (DATA_SEG_BITS): Definition deleted.
  12346.     * m-intel386.h (DATA_SEG_BITS): Define here if USG5_4.
  12347.  
  12348. Fri Mar 22 17:48:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12349.  
  12350.     * keymap.c (Faccessible_keymaps): Produce meta-characters in the
  12351.     key sequences instead of [meta-prefix-char CHAR] sequences.
  12352.  
  12353. Thu Mar 21 20:24:53 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12354.  
  12355.     * keymap.c (Flookup_key): If KEY is a zero-length array, then
  12356.     return KEYMAP; this is more algebraically satisfying.
  12357.  
  12358.     * dispnew.c (Fsit_for): If the time to sit is zero and there is no
  12359.     input available, then return Qt, not Qnil.
  12360.  
  12361.     * keyboard.c (read_char): If a quit occurs and we return
  12362.     quit_char, clear Vquit_flag, so we don't end up returning it again
  12363.     and again...  All lisp code does this manually if they call
  12364.     read-char with quits inhibited, so it's the right thing to do.
  12365.  
  12366. Wed Mar 20 06:01:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12367.  
  12368.     * keyboard.c (read_char): If there is still no input available
  12369.     after an auto-save, do a garbage-collection.
  12370.  
  12371.     * undo.c (truncate_undo_list): Always leave at least one undo
  12372.     record in the undo list.  And use sizeof (struct Lisp_Cons), etc.
  12373.     instead of 8, etc.
  12374.  
  12375.     * keyboard.c (read_char): When deciding whether to wrap
  12376.     recent_keys_index back to 0, compare it against
  12377.     sizeof (recent_keys)/sizeof(recent_keys[0]),
  12378.     not sizeof (recent_keys).
  12379.     (quit_char): This can't be anything but an ASCII character, so it
  12380.     shouldn't be a Lisp_Object.  The declaration's comment says why.
  12381.     (read_char, init_keyboard): Treat quit_char as an int now.
  12382.     (Fset_input_mode): As above, and signal an error if QUIT is not an
  12383.     ASCII character.
  12384.  
  12385.     * callint.c (Fprefix_numeric_value): Use XFASTINT to initialize
  12386.     val, not raw.
  12387.  
  12388.     * fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this
  12389.     would make it impossible to make a link to a relative name.
  12390.  
  12391. Tue Mar 19 18:45:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12392.  
  12393.     * keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for
  12394.     meta-flag.  This cannot be a lisp variable because we need to
  12395.     change the terminal settings whenever this flag changes.  Change
  12396.     this through set-input-mode instead.
  12397.  
  12398. Tue Mar 19 17:30:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12399.  
  12400.     * keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX.
  12401.  
  12402. Tue Mar 19 02:52:36 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12403.  
  12404.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char,
  12405.     read_key_sequence, Fexecute_extended_command, Fset_input_mode,
  12406.     init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp)
  12407.     instead of XSETINT (var, exp) in those cases where var is not
  12408.     known to already be a Lisp_Int.
  12409.     * search.c (skip_chars): Same.
  12410.     * xterm.c (construct_mouse_click, XTread_socket): Same.
  12411.     * callint.c (Fprefix_numeric_value): Make sure to return a
  12412.     Lisp_Int even when RAW is a cons whose car is not a Lisp_Int.
  12413.     * process.c (sigchld_handler): When searching for a process whose
  12414.     pid is -1, make sure that the pid is an int first, since network
  12415.     streams are in Vprocess_alist too.
  12416.  
  12417.     * keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for
  12418.     meta-flag.  Emacs 18 had this, and I see no entry in the ChangeLog
  12419.     saying that it was purposefully removed.
  12420.  
  12421. Sun Mar 17 14:07:44 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12422.  
  12423.     * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map,
  12424.     append_key): Minor typos and brainos corrected.
  12425.  
  12426.     * keyboard.c (read_char): Removed code to find the vector in a
  12427.     (kbd-macro . VECTOR) - style macro, since the macro is represented
  12428.     by the vector itself.
  12429.     (read_char_menu_prompt): Changed to correctly recognize the new 
  12430.     dense keymap structures.
  12431.     (read_key_sequence): Changed code that checks for keymapness to
  12432.     use get_keymap_1 instead of doing the indirection and keymapness
  12433.     testing itself.
  12434.     (Fcommand_execute): A keyboard macro is now a string or a vector.
  12435.     (Fexecute_extended_command): When expanding this_command_keys,
  12436.     remember that it is now an array of Lisp_Objects, not chars.
  12437.  
  12438.     * doc.c (Fdocumentation): Rearranged into a switch statement, and
  12439.     made vectors macros, not keymaps.
  12440.  
  12441.     * eval.c (Fcommandp): Removed code to recognize 
  12442.     (kbd-macro . VECTOR) as a command, and added code to recognize
  12443.     vectors as commands.
  12444.     * macros.c (Qkbd_macro): Variable deleted.
  12445.     (syms_of_macros): Initialization of Qkbd_macro removed.
  12446.  
  12447. Thu Mar 14 18:36:34 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12448.  
  12449.     * minibuf.c (keys_of_minibuf): Changed all calls to
  12450.     initial_define_lisp_key to calls to initial_define_key.
  12451.  
  12452.     * keymap.c (describe_map): Adjusted to handle the new style of
  12453.     keymap.
  12454.  
  12455. Thu Mar 14 17:06:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12456.  
  12457.     * fileio.c (Fwrite_region): On VMS, don't try rewriting old version.
  12458.  
  12459. Thu Mar 14 09:31:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12460.  
  12461.     * keymap.c (Faccessible_keymaps): Adjusted to handle the new style
  12462.     of keymap.
  12463.     (Fwhere_is_internal): Handle the new-style of keymaps.
  12464.     Additionally, only check to see if a match is shadowed by a
  12465.     binding in the local keymap when LOCAL_KEYMAP is non-nil, instead
  12466.     of comparing elt against DEFINITION yet again.
  12467.     (describe_map_tree): Handle key sequences that are vectors, as
  12468.     well as those that are strings.
  12469.  
  12470. Wed Mar 13 18:07:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12471.  
  12472.     * commands.h, keymap.c (meta_map, control_x_map): Make these
  12473.     Lisp_Objects, not Lisp_Vectors.
  12474.     keymap.c (syms_of_keymap): Same.
  12475.  
  12476.     * keymap.c (Fuse_global_map): There is no longer any reason to
  12477.     insist that KEYMAP must be a dense keymap; delete the code that
  12478.     does so.
  12479.  
  12480. Tue Mar 12 22:31:21 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)
  12481.  
  12482.     * commands.h, lisp.h: Changed global_map and current_global_map    to
  12483.     be Lisp_Objects, not Lisp_Vectors.
  12484.     keyboard.c (read_key_sequence): Same.
  12485.     keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key,
  12486.     Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings,
  12487.     syms_of_keymap): Same.
  12488.  
  12489.     * keymap.c (Fdefine_key): Braino: increment idx and clear metized
  12490.     flag even when the element of the key sequence isn't a character.
  12491.     (Flookup_key): Fix same braino.
  12492.  
  12493. Sun Mar 10 16:54:18 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)
  12494.  
  12495.     * keymap.c (get_keyelt): Use access_keymap to resolve indirect
  12496.     entries, instead of duplicating its code.
  12497.     (Fcopy_keymap): Handle the new keymap structure.
  12498.  
  12499. Sat Mar  9 23:35:18 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12500.  
  12501.     * eval.c (struct catchtag): New field handlerlist.
  12502.     (internal_catch, internal_condition_case): Set that field.
  12503.     (unbind_catch): Use it.
  12504.  
  12505. Fri Mar  8 02:53:41 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12506.  
  12507.     * m-intel386.h (signal): Maybe define if USG.
  12508.  
  12509.     * keyboard.c (echo_char): Don't have space at end of echobuf.
  12510.  
  12511. Thu Mar  7 16:13:32 1991  Jim Blandy  (jimb at albert.ai.mit.edu)
  12512.  
  12513.     * keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of
  12514.     doing func_key_syms twice.  Don't deal with scrollbar_syms, since
  12515.     it doesn't exist.
  12516.  
  12517. Wed Mar  6 14:43:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12518.  
  12519.     * keymap.c (access_keymap, store_in_keymap): Changed to handle the
  12520.     new style of keymaps.
  12521.  
  12522.     * fns.c (Fassq, Fcopy_alist): Changed docstring to promise to
  12523.     ignore elements of LIST that are not conses.  See access_keymap
  12524.     and copy_keymap for a cheap excuse.
  12525.  
  12526. Wed Mar  6 14:32:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12527.  
  12528.     * s-vms.h (DATA_START): Remove `+ 512'.
  12529.  
  12530. Tue Mar  5 20:37:22 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  12531.  
  12532.     * keymap.c (Fmake_keymap): Rewritten to construct the
  12533.     new dense keymap structure: (keymap VECTOR . ALIST).  Docstring
  12534.     adjusted accordingly.  This means that the keyboard macro
  12535.     stupidity (see Feb 27, keyboard.c) is no longer needed.
  12536.  
  12537. Sun Mar  3 17:15:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12538.  
  12539.     * sysdep.c (MEMORY_IN_STRING_H): New compilation flag.
  12540.     * s-isc2-2.h: New file.
  12541.  
  12542. Wed Feb 27 14:28:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12543.  
  12544.     * macros.c (Qkbd_macro): New variable, to hold the symbol
  12545.     `kbd-macro', which we use to tag vector-style keyboard macros.
  12546.     (syms_of_macros): Initialize and staticpro Qkbd_macro.
  12547.  
  12548.     * eval.c (Fcommandp): Recognize the new keyboard macros.
  12549.  
  12550.     * keyboard.c (Fcommand_execute): A keyboard macro is now a string,
  12551.     or a cons whose car is the symbol `kbd-macro' and whose
  12552.     cdr is a vector of events; previously, macros were strings or
  12553.     vectors, but that makes it difficult to tell the difference
  12554.     between macros and dense keymaps.
  12555.     (read_char): Handle the new macros correctly, and re-allocate
  12556.     this_command_keys correctly.
  12557.  
  12558. Tue Feb 26 23:45:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12559.  
  12560.     * s-vms.h (calloc): Define like malloc, etc.
  12561.  
  12562. Tue Feb 26 12:50:45 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  12563.  
  12564.     * xterm.c (XTread_socket): Move enter_timestamp outside of the
  12565.     function; static variables inside functions don't always work in
  12566.     Emacs.
  12567.  
  12568.     * editfns.c (in_accessible_range): Deleted - insufficently
  12569.     general.
  12570.     (clip_to_bounds): New function, much like in_accessible_range,
  12571.     except that the upper and lower bounds are arguments.
  12572.     (goto_char, save_restriction_restore): Rewritten to use
  12573.     clip_to_bounds instead of in_accessible_range.
  12574.  
  12575. Mon Feb 25 08:44:45 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12576.  
  12577.     * keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int
  12578.     before passing it to store_in_keymap.
  12579.  
  12580.     * buffer.c (reset_buffer_local_variables): Don't try to initialize
  12581.     the buffer's mouse_map and function_key_map fields, since they
  12582.     don't exist anymore.
  12583.  
  12584.     * macro.c (kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): These
  12585.     are now all pointers to Lisp_Objects instead of chars.
  12586.     (Fend_kbd_macro): Use make_sequence.
  12587.     (store_kbd_macro_char): Argument c is now a Lisp_Object.  Change
  12588.     call to xrealloc to ask for Lisp_Objects instead of chars.  Set
  12589.     kbd_macro_end to the same place in the new buffer as it was in the
  12590.     old one, not to the end of the buffer.
  12591.     (Fexecute_kbd_macro): Allow MACRO to be a string or a vector.
  12592.     (syms_of_macros): Allocate Lisp_Objects instead of chars for
  12593.     kbd_macro_buffer.
  12594.  
  12595.     * alloc.c (make_sequence): New function, useful to keyboard.c and
  12596.     macro.c.
  12597.     * keyboard.c (Fread_key_sequence): Use make_sequence.
  12598.     (Fthis_command_keys): Use make_sequence.
  12599.  
  12600. Sun Feb 24 16:40:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12601.  
  12602.     * keymap.c (Fwhere_is): If the command can't be found, the message
  12603.     is now "foobie is not on any key.", instead of "... any keys.".
  12604.  
  12605.     * keyboard.c (input_poll_signal): Pass 0 to read_avail_input,
  12606.     instead of `&junk'.  Removed variable `junk'.
  12607.     (command_loop_1): Updated to handle the unified function key/mouse
  12608.     event/keystroke arrangement.
  12609.     (Finput_pending_p): Removed vestiges of code to handle
  12610.     unread_input_char value of -1, since this doesn't happen anymore.
  12611.     (read_char): Adapted to handle lispy events.
  12612.     (read_char_menu_prompt): Allocate `menu' buffer using alloca,
  12613.     instead of a variable-sized array, which is gcc-specific.
  12614.     (Frecent_keys): Return the most recent "keystrokes" as a vector,
  12615.     to accomodate lispy events.
  12616.     (Fset_input_mode): Accomodate non-characters as quit keys.  If
  12617.     this is a bad thing, init_sys_modes will tell us.
  12618.     (init_keyboard): this_command_keys is now an array of
  12619.     Lisp_Objects; adjust the amount of storage we request to hold it.
  12620.     Remember that quit_char can be any keystroke.
  12621.     (syms_of_keyboard): last_command_char, last_input_char, help_char,
  12622.     menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs
  12623.     instead of DEFVAR_INTs.
  12624.     
  12625. Sun Feb 24 15:58:23 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12626.  
  12627.     * process.c (wait_reading_process_input): Use NETCONN_P.
  12628.  
  12629. Sat Feb 23 22:18:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12630.  
  12631.     * keyboard.c: (recent_keys, this_command_keys,
  12632.     menu_prompt_more_char, help_char, last_command_char, quit_char,
  12633.     last_input_char): Changed to Lisp_Objects, so we can use function
  12634.     keys for them.
  12635.     (Vglobal_function_map): Variable deleted.
  12636.     (echo_char): Echo function keys too.  The argument C is now a
  12637.     Lisp_Object instead of a char.
  12638.     (Fread_key_sequence): Removed sludge to handle window events
  12639.     specially, and added sludge to handle sequences with
  12640.     non-characters in them.
  12641.     (classify_object): Elided, since this should go away soon.
  12642.     (read_key_sequence): Adapted to look up symbols in keymaps,
  12643.     just like characters.
  12644.  
  12645. Sat Feb 23 15:22:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12646.  
  12647.     * process.c (send_process): Handle EAGAIN like EWOULDBLOCK.
  12648.  
  12649. Fri Feb 22 11:13:25 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12650.  
  12651.     * doc.c (substitute_command_keys): Call describe_map_tree with
  12652.     only three arguments, since the CHARTAB arg has been disposed of.
  12653.  
  12654.     * keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions
  12655.     deleted, since the mouse maps are no longer separate from the key
  12656.     maps.
  12657.     (append_key): New function, which handles tacking a single
  12658.     keystroke on the end of a key sequence, promoting strings to
  12659.     vectors when needed.
  12660.     (Faccessible_keymaps): Adjusted to return vectors for key
  12661.     sequences, when necessary.
  12662.     (Fkey_description): Removed stuff to handle mouse buttons and
  12663.     other things specially, since this work will go into
  12664.     Fsingle_key_description.
  12665.     (Fsingle_key_description): SIMPLIFIED to handle everything
  12666.     correctly!  Jeepers!
  12667.     (Fwhere_is_internal): Scan the assoc-list at the end of dense
  12668.     keymaps, and construct strings or vectors.
  12669.     (where_is_string, describe_buffer_bindings): Simplified by
  12670.     deleting code to handle mouse button bindings specially.
  12671.     (describe_map_tree): Removed CHARTAB argument; this was
  12672.     a kludge to print out mouse events nicely, and is no longer
  12673.     necessary.  Nobody was using it anyway.
  12674.     (describe_map): Removed ugly hack to handle mouse buttons
  12675.     specially, added code to describe alists on dense keymaps, and
  12676.     removed CHARTAB argument.
  12677.     (describe_alist): Made to handle bindings of symbols as well as
  12678.     characters.  Removed CHARTAB argument.
  12679.     (describe_vector): Removed CHARTAB argument, allocated KLUDGE
  12680.     outside of loop and GCPRO'd it.
  12681.     (syms_of_keymap): Remove last vestiges of Vglobal_mouse_map,
  12682.     Vmouse_button_names, Suse_local_mouse_map,
  12683.     Scurrent_local_mouse_map.
  12684.  
  12685.     * buffer.h (struct buffer): Removed mouse_map and function_key_map
  12686.     members, since they are now handled by the keymap element.
  12687.  
  12688.     * keyboard.c (syms_of_keyboard): Change initialization of
  12689.     meta_prefix_char, since it's now a Lisp_Object.
  12690.  
  12691.     * keymap.c (Fkeymapp): Rewrote this to use get_keymap_1; now it's
  12692.     a one-liner instead of a 13-liner.
  12693.     (DENSE_TABLE_SIZE): Created new constant for the # of lookup-style
  12694.     entries in a dense keymap, and the index of the map's assoc list.
  12695.     Used it where appropriate.
  12696.     (Fcopy_keymap): Notice that 129'th element in dense keymaps.
  12697.     (Fdefine_key, Flookup_key): Reworked to deal with vectors of
  12698.     symbols and characters as well as strings for key sequences.
  12699.     (meta_prefix_char): Changed from an int to a Lisp_Object.
  12700.  
  12701. Thu Feb 21 22:41:38 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12702.  
  12703.     * fileio.c (report_file_error): Don't downcase "I/O".
  12704.  
  12705. Wed Feb 20 05:25:56 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12706.  
  12707.     * keymap.c (access_keymap): Allow IDX to be any sort of bindable
  12708.     event, and deal with the extended keymaps.  IDX is now a
  12709.     Lisp_Object instead of an int, obviously.
  12710.     (store_in_keymap): Allow IDX to be any sort of bindable event, and
  12711.     deal with the extended keymaps.  IDX is now a Lisp_Object.
  12712.  
  12713.     * xterm.c (construct_mouse_click): Add code to set the up_modifier
  12714.     bit for ButtonRelease events.
  12715.  
  12716.     * keyboard.c (kbd_buffer_store_event): Use XFASTINT and XSETINT to
  12717.     access event->code, since it's a Lisp_Object.
  12718.     (kbd_buffer_read_char): Golly, perhaps we should increment
  12719.     kbd_fetch_ptr to remove the event we just read from the queue.
  12720.     (modify_event_symbol): Stupid fixes: correctly look up unmodified
  12721.     symbols when cache entry has a modified symbol vector.  And, when
  12722.     first adding the modified symbol vector, copy the old slot value
  12723.     into it correctly.
  12724.  
  12725. Tue Feb 19 00:03:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12726.  
  12727.     * keyboard.c (command_loop_1): #if 0 the block of code which
  12728.     handles mouse events and other lispy events specially, since I
  12729.     hope it will go away soon.
  12730.  
  12731.     * dispnew.c (Fsleep_for_millisecs): Pass all four arguments to
  12732.     wait_reading_process_input, instead of just the first two.
  12733.  
  12734.     * process.c (wait_reading_process_input): Remove support for
  12735.     only waiting for mouse input, since that has been superceded.
  12736.     This removes X dependencies from process.c, and eliminates some
  12737.     references to code that should only exist when using X10.
  12738.  
  12739.     * keyboard.c (mouse_moved_symbol, redraw_screen_symbol,
  12740.     mapped_screen_symbol, unmapped_screen_symbol,
  12741.     exited_window_symbol, exited_scrollbar_symbol): Renamed to
  12742.     Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
  12743.     Qexited_window, Qexited_scrollbar, just as done in xterm.c.
  12744.     (classify_object): Removed code to look up a function key in the
  12745.     global and local function key keymaps, since this will be done
  12746.     more generally.
  12747.     (Fexecute_mouse_event): Elided this function with a #if 0;  I
  12748.     think it will go away once the more general keymap stuff is
  12749.     implemented, but I'm not sure.
  12750.     (syms_of_keyboard): Removed defsubr for Sexecute_mouse_event.
  12751.     (where_is_string, describe_buffer_bindings, syms_of_keymap):
  12752.     Elided code to handle mouse button bindings specially; I hope this
  12753.     will go away.
  12754.  
  12755.     * lread.c (syms_of_lread): Change defsubr for eval-buffer to
  12756.     defsubr for eval-current-buffer.
  12757.  
  12758.     * keymap.c (syms_of_keymap): defvar for Vglobal_function_map
  12759.     removed, since that variable has disappeared.
  12760.  
  12761.     * xterm.c (x_func_key_to_sym): Removed entirely, since we no
  12762.     longer convert X keycodes to symbols in this section of code.
  12763.     (x_convert_modifiers): New function to turn the X modifier bits
  12764.     into struct input_event modifier bits.
  12765.     (encode_mouse_button): removed, since this work isn't done here
  12766.     anymore.
  12767.     (Vx_send_mouse_movement_events): Add an extern declaration for
  12768.     this.
  12769.  
  12770.     * termhooks.h: Only define struct input_event if the module
  12771.     has previously #included lisp.h; this avoids forcing simple modules
  12772.     like cm.c to #include lisp.h.
  12773.  
  12774.     * term.c: #include "lisp.h" before #including "termhooks.h", since
  12775.     the latter uses Lisp_Objects now.
  12776.  
  12777.     * xfns.c (syms_of_xfns): Delete the defsubr for Sx_window_id,
  12778.     since Fx_window_id is gone.
  12779.  
  12780.     * xterm.c (construct_mouse_event): Construct a struct input_event
  12781.     instead of a lispy event.
  12782.  
  12783.     * screen.c (coordinates_in_window):  Added explanatory comment. 
  12784.     (window_from_coordinates): Change PART, whose returned values are
  12785.     dependent on X-windows, to be called MODELINE_P, with appropriate
  12786.     new return values.
  12787.     * xterm.c (notice_mouse_movement): Handle the X-windows dependent
  12788.     stuff that used to be in window_from_coordinates here instead.
  12789.     (XTread_socket): Modified to produce struct input_events
  12790.     instead of lispy events.
  12791.  
  12792. Mon Feb 18 18:12:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12793.  
  12794.         * termhooks.h: Added up_modifier to the enum for modifier bits;
  12795.     this bit will be applied to mouse events.
  12796.     (struct input_event): Changed specification of non_ascii_keystroke
  12797.     events to send the function key number instead of a symbol.
  12798.     * keyboard.c (modify_event_symbol): Re-arranged to work well
  12799.     with function key/mouse button numbers instead of symbols.
  12800.     And if (MODIFIERS & up_modifer), prepend "U-" to the name of the
  12801.     symbol being constructed.
  12802.     (make_lispy_event): Use the new modify_event_symbol.
  12803.  
  12804.     * xterm.c (notice_mouse_movement): Adjusted this function to
  12805.     work with a struct input_event instead of producing an
  12806.     s-expression.
  12807.  
  12808.     * xterm.c, xfns.c: Made all references to x_mouse_queue,
  12809.     x_expose_queue, and the functions which manipulate them
  12810.     conditional on having X10, since only X10 code ever places
  12811.     anything in these queues.
  12812.  
  12813. Fri Feb 15 05:20:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12814.  
  12815.     * termhooks.h: Define struct input_event, to represent input
  12816.     events while they sit in the keyboard input buffer.  Using lisp
  12817.     objects to represent input events is a bad idea because the
  12818.     routines which enqueue them can be called from signal handlers,
  12819.     and therefore should not cons.
  12820.  
  12821.     * keyboard.c: (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change
  12822.     these to be of type `struct input_event *'.
  12823.     (kbd_buffer_store_event): Manipulate struct input_events instead
  12824.     of lisp objects.
  12825.     (make_lispy_event): New function, to construct a lisp-style event
  12826.     corresponding to a particular struct input_event.
  12827.     (modify_event_symbol): New function, to add modifier prefixes to a
  12828.     symbol, and look the new symbols up quickly if they've already
  12829.     been created.
  12830.     (kbd_buffer_read_char): Call make_lispy_event to turn the thing
  12831.     in the keyboard buffer into the form that read_char is expecting.
  12832.     (Qwith_modifier_keys): Define this new symbol variable.
  12833.     (syms_of_keyboard): Initialize and protect Qwith_modifier_keys.
  12834.  
  12835.     * xterm.c (init_input_symbols): Rearranged the code that produces
  12836.     the func_key_syms array.
  12837.     (x_func_key_to_sym): Simplified, since more will be handled in
  12838.     make_lispy_event.
  12839.     (XTread_socket): When handling KeyPress events, don't pass the
  12840.     state of the modifier keys to x_func_key_to_sym, since it doesn't
  12841.     care any more.
  12842.  
  12843.     * sysdep.c (kbd_input_ast, end_kbd_input, read_input_waiting):
  12844.     Rename kbd_buffer_store_char to kbd_buffer_store_event.
  12845.  
  12846.     * keyboard.c (stuff_buffered_input): Since the keyboard buffer
  12847.     holds lisp objects, only stuff entries that are Lisp_Ints, and
  12848.     XINT them before passing them to stuff_char.
  12849.     (kbd_buffer_store_char): Make this not a static function, since
  12850.     sysdep.c calls it.  And rename it kbd_buffer_store_event.
  12851.  
  12852.     * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these
  12853.     variables static, to document the fact that they're only used
  12854.     within keyboard.c.
  12855.  
  12856. Wed Feb 13 00:43:13 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12857.  
  12858.     * xterm.c (init_input_symbols): remove the `xk-' prefix from all
  12859.     the function key symbols, since they're going to be used for
  12860.     function keys from all sorts of terminals, not just when running
  12861.     under X.
  12862.  
  12863.     * lread.c (read_escape): Removed support for mouse button escapes
  12864.     (\S-, \U-, \C- applied to digits), because they're being replaced
  12865.     by something more rational.
  12866.  
  12867. Sat Feb  9 13:23:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12868.  
  12869.     * buffer.c: Doc fix.
  12870.  
  12871.     * sysdep.c (dup2): Rewrite of non-F_DUPFD case.
  12872.  
  12873. Fri Feb  8 00:03:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12874.  
  12875.     * m-intel386.h (LOAD_AVE_CVT): Add extra parens.
  12876.     * s-usg5-4.h (LIBX11_SYSTEM): #undef it.
  12877.  
  12878. Thu Feb  7 13:39:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12879.  
  12880.     * s-esix.h: New version from kayvan.
  12881.     Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME,
  12882.     LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX, 
  12883.     MISSING_UTIMES.
  12884.  
  12885. Wed Feb  6 14:18:42 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12886.  
  12887.     * process.c (Faccept_process_output): Second arg gives timeout.
  12888.  
  12889. Wed Feb  6 00:01:26 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12890.  
  12891.     * lread.c (read_escape): Added support for \S- and \U- escapes (for
  12892.     binding mouse buttons), and noted that \C- must work on digits.
  12893.  
  12894.     * xterm.c (init_input_symbols): Was mistakenly renamed
  12895.     init_inputs; named back.
  12896.  
  12897.     * xterm.c (construct_mouse_click, encode_mouse_button): Rewritten
  12898.     to build new-style mouse events.
  12899.  
  12900.     * dispnew.c (update_line): Write a zero into obody[olen] to make
  12901.     sure the lines in current_screen->glyphs remain terminated.
  12902.     * xdisp.c (display_string, display_text_line): Don't write off
  12903.     the end of the line and destroy the zero terminator when expanding
  12904.     a tab.
  12905.  
  12906.     * fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as
  12907.     well as C-g to quit.
  12908.  
  12909. Tue Feb  5 18:28:57 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12910.  
  12911.     * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h,
  12912.     s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h,
  12913.     s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h:
  12914.     Globally replaced INTERRUPTABLE with INTERRUPTIBLE.
  12915.  
  12916.     * xterm.c (construct_mouse_event): Renamed to
  12917.     construct_mouse_click, since there are kinds of mouse events
  12918.     besides clicks (movement, for example).
  12919.     (XTread_socket): rename calls here.
  12920.  
  12921.     * xterm.c (mapped_screen_symbol, unmapped_screen_symbol,
  12922.     exited_scrollbar_symbol, exited_window_symbol,
  12923.     redraw_screen_symbol, mouse_moved_symbol): Renamed to
  12924.     Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
  12925.     Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming
  12926.     conventions elsewhere in Emacs.
  12927.  
  12928.     * xfns.c (text_part_sym, modeline_part_sym,
  12929.     vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym,
  12930.     vertical_thumbdown_sym, horizontal_scrollbar_sym,
  12931.     horizontal_slider_sym, horizontal_thumbleft_sym,
  12932.     horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part,
  12933.     Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part,
  12934.     Qhscrollbar_part, Qhslider_part, Qhthumbleft_part,
  12935.     Qhthumbright_part, to agree with the naming conventions elsewhere
  12936.     in Emacs.
  12937.  
  12938.     * xterm.c (XTread_socket): While handling EnterNotify events,
  12939.     clear Vmouse_event here.
  12940.     (notice_mouse_movement): Don't clear it here.
  12941.  
  12942. Mon Feb  4 17:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12943.  
  12944.     * s-sunos4-0.h: Renamed from s-sunos4.h.
  12945.     (read, write, open, close): Macro defs moved to s-sunos4-1.h.
  12946.     (INTERRUPTABLE_*): Likewise.
  12947.     * s-sunos4-1.h: New file.
  12948.  
  12949. Mon Feb  4 02:17:08 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12950.  
  12951.     * keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables
  12952.     removed in preparation for conversion to unified keymap format.
  12953.     (Fmake_keymap): Make vector keymaps with 129 entries; the last
  12954.     will be an assoc-list for looking up symbols.  Update docstring to
  12955.     describe 129'th element.
  12956.     (Fmake_sparse_keymap): Update docstring to say that you can bind
  12957.     symbols in these maps too.
  12958.     (Fkeymapp): Recognize 129-element vectors as keymaps, not
  12959.     128-element vectors.
  12960.     (get_keymap_1): wrong_type_argument can no longer return a new
  12961.     value supplied by the debugger; remove loop to support this.
  12962.  
  12963.     * xterm.c (XTread_socket): When handling EnterNotify events,
  12964.     enqueue fake mouse events iff Vx_send_mouse_movement_events !=
  12965.     Qnil.
  12966.  
  12967.     * xfns.c (Fx_window_id): Function removed; Fscreen_parameters
  12968.     already provides this information.
  12969.  
  12970.     * xterm.c (x_term_init): Cleaned up the code to get the host name,
  12971.     and removed fixed limit on host name length.
  12972.  
  12973.     * window.c (Fscroll_other_window): Don't explicitly save
  12974.     current_buffer and point; the save_excursion will take care of
  12975.     that anyway.
  12976.  
  12977.     * dispnew.c (safe_bcopy): Rewritten to handle overlapping regions
  12978.     with multiple calls to bcopy instead of a stupid copy loop.
  12979.  
  12980.     * xterm.c, xfns.c (Vscreen_part, Vx_send_movement_events): These
  12981.     variables renamed to Vmouse_screen_part,
  12982.     Vx_send_mouse_movement_events.
  12983.  
  12984.     * lread.c (Feval_buffer): function deleted.
  12985.     (Feval_current_buffer): Removed "#if 0 ... #endif" around this
  12986.     function.
  12987.  
  12988. Sun Feb  3 21:50:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12989.  
  12990.     * Makefile, ymakefile (SHELL): Force use of sh.
  12991.  
  12992.     * s-usg5-4.h (USG5_4): Define it.
  12993.     (LOAD_AVE_*): Don't define them.
  12994.     * m-intel386.h (LOAD_AVE_*): Define, if USG5_4.
  12995.  
  12996.     * buffer.c (Fbuffer_local_variables): Omit slots with no names.
  12997.  
  12998. Sun Feb  3 19:12:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12999.  
  13000.     * xterm.c (x_term_init, init_input_symbols): Moved these to the
  13001.     bottom of the file, 1) to be consistent with the other files, and
  13002.     2) so it can initialize some variables I want.
  13003.  
  13004. Sat Feb  2 05:26:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13005.  
  13006.     * xterm.h: Added external declaration for x_focus_screen.
  13007.  
  13008.     * search.h: File deleted.
  13009.     * buffer.h: declare searchbuf here instead.
  13010.  
  13011.     * screen.c (Ffocus_screen, Funfocus_screen): Moved these functions
  13012.     to xfns.c, since they're x-specific.
  13013.     (syms_of_screen): Removed defsubr calls for above.
  13014.     * xfns.c (Ffocus_screen, Funfocus_screen): Here they are.
  13015.     (syms_of_xfns): The defsubrs are here now.
  13016.  
  13017.     * buffer.h (PT): Make this expand to an expression which is not an
  13018.     l-value, to prevent people from assigning to it.  If everyplace
  13019.     uses SET_PT, it will be easier to merge in the interval code.
  13020.     (point): Similar changes here.
  13021.     (SET_PT): This can no longer be written in terms of PT, so write
  13022.     out current_buffer->text.pt.
  13023.  
  13024.     * xterm.c (x_new_font): Rewritten to remove arbitrary limit on
  13025.     size of x_font_table.
  13026.     (x_font_table_size): Created new variable.
  13027.     (n_available_fonts, font_names, font_info, MAX_FONTS): Deleted
  13028.     these variables/macros.
  13029.  
  13030.     * dispnew.c (scroll_screen_lines): Instead of disabling the lines
  13031.     vacated by the scroll (i.e. zeroing enable), mark them as enabled
  13032.     but empty.
  13033.  
  13034.     * callint.c (Fcall_interactively): Move UNGCPRO down, so that
  13035.     stuff is protected while we build the command history entry and do
  13036.     the function call.
  13037.  
  13038.     * xterm.c (XTupdate_end): Turn cursor on, even if we don't
  13039.     currently have the focus.
  13040.  
  13041.     * minibuf.c (temp_echo_area_glyphs): Clear echo_area_glyphs and
  13042.     previous_echo_glyphs, so the message we're displaying will
  13043.     supercede any existing message.
  13044.  
  13045.     * keyboard.c: Removed external declaration of echo_area_glyphs,
  13046.     since it's declared in window.h.
  13047.  
  13048. Thu Jan 31 18:16:41 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13049.  
  13050.     * xterm.c (XRINGBELL): Pass 0 as the second argument to XBell;
  13051.     respect the user's preferences.
  13052.  
  13053. Wed Jan 30 05:22:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13054.  
  13055.     * xterm.c (x_draw_single_glyph): New function, created to simplify
  13056.     cursor drawing/undrawing.
  13057.     (x_display_box_cursor): Rewritten to properly handle the box
  13058.     cursor in its filled and hollow forms.
  13059.     * xterm.h (enum text_cursor_kinds): Added enum for the different
  13060.     kinds of cursors which might be displayed in a window.
  13061.     (struct x_display): added member `text_cursor_kind' which says
  13062.     which kind of cursor is currently being displayed in the window, so
  13063.     we can arrange to redraw it effectively.
  13064.  
  13065.     * keyboard.c (command_loop_1): When handling the forward_char
  13066.     command, don't let point move to the location after the end of the
  13067.     buffer.
  13068.  
  13069.     * keyboard.c (poll_suppress_count): Define this even if
  13070.     POLL_FOR_INPUT is not defined, because this makes lots of #ifdef
  13071.     clauses unnecessary, and doesn't hurt, because
  13072.     {start,stop}_polling become nops.
  13073.  
  13074.     * config.h, config.h-dist: Make these #include "system.h" and
  13075.     "machine.h", and let the config script link these appropriately,
  13076.     instead of using the machine-specific names and expecting the user
  13077.     to edit this file.
  13078.  
  13079. Tue Jan 29 21:08:41 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13080.  
  13081.     * window.c (Fdelete_window): sib is a Lisp_Object; treat it as
  13082.     such.
  13083.  
  13084.     * xterm.c (screen_unhighlight): When the focus leaves a screen,
  13085.     draw the cursor as a box instead of making it disappear entirely.
  13086.  
  13087. Tue Jan 29 14:59:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13088.  
  13089.     * unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr.
  13090.  
  13091.     * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ.
  13092.  
  13093.     * process.c (wait_reading_process_input): Don't ignore
  13094.     a zero-length read on a network connection.  Do close it.
  13095.  
  13096.     * sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR.
  13097.     Do nothing if not HFT.
  13098.  
  13099. Tue Jan 29 00:02:34 1991  Jim Blandy  (jimb at albert.ai.mit.edu)
  13100.  
  13101.     * xfns.h: Created, to declare things defined in xfns.c.
  13102.     Declare Vx_send_movement_events.
  13103.     * xfns.c: #include "xfns.h".
  13104.     (Vx_send_movement_events): Define this variable.
  13105.     (syms_of_xfns): DEFVAR_LISP it.
  13106.     * xterm.c: #include "xfns.h".
  13107.     (XTread_socket): Place a mouse-moved event in the buffer iff
  13108.     Vx_send_movement_events says to.
  13109.  
  13110. Mon Jan 28 17:47:54 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  13111.  
  13112.     * ymakefile: noted that callint.o depends on mocklisp.h,
  13113.     and dired.o on search.h.
  13114.  
  13115.     * environ.h: Deleted - its creation in the first place was misguided.
  13116.     callproc.h: Removed #include "environ.h", and added declarations
  13117.     for environ.h
  13118.  
  13119.     * buffer.c (syms_of_buffer): Add more detailed documentation to
  13120.     buffer-undo-list.
  13121.  
  13122.     * lisp.h (poll_suppress_count): Add external declaration for this here.
  13123.  
  13124. Mon Jan 28 00:34:59 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13125.  
  13126.     * m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files.
  13127.  
  13128. Sun Jan 27 22:19:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  13129.  
  13130.     * lisp.h (struct handler): add poll_suppress_count member, so
  13131.     we can restore poll_suppress_count when we handle an error.
  13132.     * eval.c (struct catchtag): Add it here too, for throws.
  13133.     (internal_catch, Fcondition_case, internal_condition_case): Record
  13134.     the value of poll_suppress_count here in the handler and catch tag.
  13135.     (Fthrow, Fsignal): Restore it here.
  13136.  
  13137. Fri Jan 25 21:41:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13138.  
  13139.     * xterm.c (x_display_box_cursor): If we're undrawing the cursor by
  13140.     redrawing the character underneath it, draw according to that
  13141.     line's highlight, instead of assuming it's in the normal GC.
  13142.  
  13143. Fri Jan 25 16:52:12 1991  Richard Stallmao  (rms at mole.ai.mit.edu)
  13144.  
  13145.     * buffer.h (PTR_CHAR_POS): Value was too small by 1.
  13146.  
  13147. Wed Jan 16 17:45:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13148.  
  13149.     * doprnt.c (doprnt): Check for overflow in fmtcpy.
  13150.  
  13151. Wed Jan 16 16:35:33 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13152.  
  13153.     * window.c (Fdelete_window): If the deletee gives its space to its
  13154.     next sibling, that sibling needs to have its top/left side pulled
  13155.     back to where the deletee's is.
  13156.  
  13157. Tue Jan 15 16:17:53 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  13158.  
  13159.     * doc.c (Fsnarf_documentation): handle attaching docstrings to
  13160.     bytecode objects too.
  13161.  
  13162.     * syntax.h (syntax_spec_code): make external declaration for this
  13163.     unsigned char to match the definition in syntax.c.
  13164.  
  13165.     * indent.c (compute_motion): added comments describing how it
  13166.     can be used.
  13167.  
  13168. Tue Jan 15 13:13:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13169.  
  13170.     * process.c (create_process): Use SETUP_SLAVE_PTY if defined.
  13171.  
  13172.     * s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined.
  13173.     (HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros.
  13174.     (TIOCSIGSEND): Alias for TIOCSIGNAL.
  13175.     (FIRST_PTY_LETTER): Overridden.
  13176.     (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, SETUP_SLAVE_PTY): New macros.
  13177.  
  13178.     * m-ibmrs6000.h    (CANNOT_DUMP): Undefine it.
  13179.     (UNEXEC): Define it.
  13180.     (PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP.
  13181.     (LINKER): Override it.  Then add -bnodelcsect.
  13182.  
  13183.     * xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails.
  13184.  
  13185. Sun Jan 13 20:26:50 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13186.  
  13187.     * s-usg5-4.h (LOAD_AVE_CVT): Cast value to int.
  13188.  
  13189.     * keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails.
  13190.  
  13191.     * ymakefile: Put tokens after #endif into comment.
  13192.  
  13193.     * filelock.c (lock_file_owner_name): Declare argument type.
  13194.  
  13195.     * syntax.c (syntax_spec_code): Type now unsigned char.
  13196.  
  13197.     * process.c (wait_reading_process_input):
  13198.     Call status_notify even when not doing redisplay.
  13199.  
  13200.     * emacs.c (Fkill_emacs): Turn off SIGIO before exiting.
  13201.  
  13202.     * s-usg5-3.h (USG5_3): Define it.
  13203.     * m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0.
  13204.     Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS.
  13205.     Override various other symbols at end of file.
  13206.  
  13207. Sat Jan 12 15:10:24 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13208.  
  13209.     * window.c (window-configuration-p): Closing paren needed.  Added.
  13210.  
  13211.     * keyboard.c (command_loop_1): When displaying a message over an
  13212.     active minibuffer, call Fsit_for with three arguments, not two.
  13213.  
  13214. Sat Jan 12 14:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13215.  
  13216.     * s-irix3-3.h (HAVE_SYSVIPC): Defined.
  13217.  
  13218. Sat Jan 12 13:56:32 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13219.  
  13220.     * dispnew.c (buffer_posn_from_coords): compute_motion starting
  13221.     from bufp[y] instead of counting from the top of the window.
  13222.  
  13223. Fri Jan 11 16:38:54 1991  Richard Mlynarik  (mly at pizza.ai.mit.edu)
  13224.  
  13225.         * window.c (window-configuration-p):  Needed.  Added.
  13226.  
  13227. Fri Jan 11 15:52:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13228.  
  13229.     * dispnew.c (buffer_posn_from_coords): Remember to deduce space
  13230.     for the line continuation markers and the window separators from
  13231.     the window width.
  13232.  
  13233. Fri Jan 11 11:45:19 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13234.  
  13235.     * m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer.
  13236.  
  13237. Thu Jan 10 12:33:20 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13238.  
  13239.     * fileio.c (Fcopy_file): Always close descriptors.
  13240.  
  13241.     * s-sunos4.h: read, write, open and close are interruptable.
  13242.  
  13243. Wed Jan  9 12:32:21 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13244.  
  13245.     * xterm.c, dispnew.c (pixel_to_char_translation): Renamed to
  13246.     pixel_to_glyph_translation, and rewritten.  Just get coordinates,
  13247.     don't return anything.
  13248.     (buffer_posn_from_coords): New function - given a window and
  13249.     co-ordinates on the screen, find the buffer position at those
  13250.     co-ordinates. 
  13251.  
  13252. Tue Jan  8 06:14:51 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  13253.  
  13254.     * alloc.c (Fmake_byte_code): Flesh out docstring.
  13255.  
  13256.     * window.c (window_loop): pick the first window correctly, even
  13257.     when screen == 0.
  13258.  
  13259.     * dispnew.c (scroll_screen_lines): Don't forget to call
  13260.     update_begin at the top of the down-scrolling section.
  13261.     And rotate by amount, not -amount, in the up-scrolling section.
  13262.  
  13263.     * xterm.h (MAX_FONTS, x_font_table, n_fonts): Removed external
  13264.     declarations for these variables, since they're declared static in
  13265.     xterm.c and not used elsewhere.
  13266.     * xterm.c (MAX_FONTS): Moved definition of this to here from
  13267.     xterm.h.
  13268.  
  13269.     * xterm.c (x_new_font): If you can't find the requested font,
  13270.     return a code which indicates this, instead of calling abort.
  13271.  
  13272. Mon Jan  7 10:08:47 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13273.  
  13274.     * xdisp.c (redisplay, display_mode_line): To test
  13275.     Vglobal_minibuffer_screen for validity, you must check that its
  13276.     type is Lisp_Screen; comparing it to Qnil isn't good enough.
  13277.  
  13278.     * screen.c (syms_of_screen): Initialize Vglobal_minibuffer_screen
  13279.     to Qnil; otherwise, it inhibits decent redisplay (is that another
  13280.     bug?)
  13281.  
  13282.     * dispnew.c (init_display): Make sure that the standard input is a
  13283.     terminal here.
  13284.     * emacs.c (main): Not here, since we don't know yet if we want to
  13285.     use a window system of some sort.
  13286.  
  13287.     * xfns.c (x_make_gc): Delete code to support default_face and
  13288.     highlight_face, since they're part of the interval code, and
  13289.     shouldn't be installed yet.
  13290.  
  13291.     * dispnew.c (init_display): calculate_costs expects a screen
  13292.     parameter; pass selected_screen, instead of nothing.
  13293.  
  13294.     * search.c (Freplace_match): Protect STRING.
  13295.     * process.c (run_filter): New function.
  13296.     (read_process_output, exec_sentinel): Use run_filter to call the
  13297.     process's filter function. 
  13298.      (status_notify): GCPro MSG.
  13299.      * process.c (Fopen_network_stream): Protect various args.
  13300.     * print.c (Fprin1_to_string, Fprint): Protect OBJ.
  13301.     * lread.c (Feval_region): Check type of B.
  13302.     * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
  13303.     (describe_vector): Likewise for ELT_PREFIX and TEM1.
  13304.  
  13305. Sun Jan  6 23:25:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13306.  
  13307.     * sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist.
  13308.     Only on a MIPS.
  13309.  
  13310. Sat Jan  5 09:13:07 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  13311.  
  13312.     * xselect.c (x_answer_selection_request): For incremental, set
  13313.     format to 32 and send only 1 element.  Pass the address of size,
  13314.     not size itself.
  13315.     (x_selection_arrival): For incremental, delete the property
  13316.     containing the size of the transfer.  This generates a
  13317.     PropertyNotify to the owner, starting the exchange.
  13318.  
  13319.     * xrdb.c (get_user_app): Pass correct number of parameters to
  13320.     sprintf.
  13321.  
  13322.     * xfns.c (x_window): Don't use backing store or saveunders; they
  13323.     seem to slow down suns.
  13324.     (x_icon): Set the InputHint to the window manager to False.
  13325.     (x_make_gc): Initialize gc_values.line_width to zero before
  13326.     creating the normal video GC, since it uses it.  And set the
  13327.     default_face and hilite_face gcs here.
  13328.     (install_vertical_scrollbar): Add 2 to thumbdown y position, and
  13329.     don't add ibw.
  13330.  
  13331.     * insdel.c (insert, del_range): Use SET_PT rather than assigning
  13332.     point directly.
  13333.     * window.c (Fselect_window): Here too.
  13334.  
  13335.     * xdisp.c (redisplay_all_windows): removed static declaration for
  13336.     this nonexistent function.
  13337.  
  13338. Fri Jan  4 01:05:07 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13339.  
  13340.     * window.c (window_loop): neatened up.  MINI being non-zero now
  13341.     makes it recognize active minibuffer windows.  Iterates properly
  13342.     over multiple screens when asked nicely.
  13343.     (Fget_lru_window, Fget_largest_window): SCREENS arguments are now
  13344.     declared as a Lisp_Object, and documented.
  13345.     (Fget_buffer_window): SCREENS argument is now documented.
  13346.     (Fdelete_other_windows): Delete other windows on the argument
  13347.     window's screen, not the current screen.
  13348.  
  13349.     * screen.c (window_from_coordinates): Changed other reference to
  13350.     Fnext_window to use next_screen_window; see below.
  13351.  
  13352.     * window.c (Fnext_window, Fprevious_window): Accept non-nil, non-t
  13353.     values for mini, and don't turn off all-screens when mini is t but
  13354.     there is no global minibuffer screen.  Remove screen_{root,mini}
  13355.     variables.
  13356.     (Fother_window): Added second argument all_screens.
  13357.  
  13358.     * undo.c (record_delete): Removed dead variable llength.
  13359.  
  13360.     * data.c (Qkeyp, Fkeyp): Removed these and supporting code.
  13361.     * keymap.c (Fsingle_key_description): Report an error instead of
  13362.     calling wrong_type_argument.
  13363.     * lisp.h (Qkeyp): Removed external declaration for this.
  13364.     
  13365. Thu Jan  3 17:30:46 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13366.  
  13367.     * search.c (search_buffer): Return starting position if count == 0.
  13368.  
  13369. Wed Jan  2 01:57:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13370.  
  13371.     * scroll.c (do_scrolling): Use correct limits on loop to clear
  13372.     lines just inserted--old version lost a line.
  13373.  
  13374.     * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h
  13375.     (Ffocus_screen, Funfocus_screen): use Joe's new definitions, and
  13376.     only define these functions ifdef HAVE_X_WINDOWS.
  13377.     (window_from_coordinates): use next_screen_window instead of
  13378.     Fnext_window, so that global minibuffers work.
  13379.  
  13380.     * lread.c (syms_of_read): Don't forget to defsubr
  13381.     read-char-exclusive.
  13382.  
  13383.     * lisp.h (Fscreenp, Fselect_screen, Ffocus_screen,
  13384.     Funfocus_screen, Fselected_screen, Fwindow_screen,
  13385.     Fscreen_root_window, Fscreen_selected_window, Fscreen_list,
  13386.     Fnext_screen, Fdelete_screen, Fread_mouse_position,
  13387.     Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible,
  13388.     Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p,
  13389.     Fvisible_screen_list, Fscreen_parameters,
  13390.     Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height,
  13391.     Fscreen_width, Fset_screen_height, Fset_screen_width,
  13392.     Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p,
  13393.     Flocate_window_from_coordinates, Frubber_band_rectangle): added
  13394.     extern declarations for all these.
  13395.  
  13396.     * lisp.h (Qscreenp): added an extern declaration for this.
  13397.  
  13398.     * lisp.h (DBL_DIG): Added constant for the maximum number of
  13399.     decimal digits a float could print to.  Used in print.c.
  13400.  
  13401.     * keymap.c (Fkey_description): Produce pretty descriptions of
  13402.     mouse and window system events too.
  13403.     (Fsingle_key_description): signal an error if obj is not a key.
  13404.  
  13405.     * data.c (Fkeyp, Qkeyp): Added predicate to recognize things which
  13406.     can be bound - this includes keys, symbols (for function keys and
  13407.     window system events), and conses (for mouse events).
  13408.     * lisp.h (Qkeyp): Added external declaration for this.
  13409.  
  13410.     * keyboard.c (Frecursive_edit): Don't specbind the standard IO here.
  13411.     (recursive_edit_1): Do it here, and don't forgot to unbind_to.
  13412.  
  13413.     (command_loop_1): Reset no_redisplay after mouse commands.
  13414.  
  13415.     (classify_object): Place the object in read_key_sequence_cmd.
  13416.  
  13417.     (Fread_key_sequence): recognize that when read_key_sequence
  13418.     returns -1 or -2, it's a mouse event or window system event.
  13419.  
  13420. Tue Jan  1 09:21:56 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13421.  
  13422.     * fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1]
  13423.     before comparing it to '\n' for VMS cruft.
  13424.     (Fdo_auto_save): Don't call run-hooks before it's defined.  This
  13425.     only happens before emacs is dumped, when loading inc-vers.el.
  13426.  
  13427.      * eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here.
  13428.     (error): Not here.
  13429.  
  13430.     (Feval): We use argvals[0..5], so declare it to have six elements
  13431.     instead of just five.
  13432.  
  13433. Sun Dec 30 23:24:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13434.  
  13435.     * eval.c (Fsignal): Don't ever return.
  13436.     Call error instead if user tries to use debugger to return.
  13437.  
  13438.     * eval.c (unbind_to): New second arg is value to return.  gcpro it.
  13439.     All callers changed to pass the arg; if a caller uses unbind_to
  13440.     just before returning, it passes as this arg the value it wants
  13441.     to return, then it returns whatever comes back.
  13442.  
  13443. Fri Dec 28 18:39:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13444.  
  13445.     * print.c (print): put obj in a non-register variable so
  13446.     we could gcpro it.  Also fixed some syntax errors.
  13447.  
  13448.     * editfns.c (Fformat): declare nstrings, and declare nstrings and
  13449.     strings in a local block.
  13450.     (Fformat): XFLOAT(args[n]) isn't a float; ->data is.
  13451.  
  13452. Thu Dec 27 13:56:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13453.  
  13454.     * m-tower32.h: Add comments for how to optimize.
  13455.     * m-tower32v3.h: New file.
  13456.  
  13457.     * fileio.c (Fwrite_region): Save errno around unlock_file.
  13458.  
  13459. Wed Dec 26 17:48:01 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13460.  
  13461.     * editfns.c (Fformat): Handle floats.  Convert between int and float.
  13462.     Don't truncate value at null char coming from doprnt.
  13463.     * doprnt.c (doprnt): Replace tembuf with malloced buff if too small.
  13464.     Handle %e, %f and %g.
  13465.  
  13466. Tue Dec 25 18:05:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13467.  
  13468.     * abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert.
  13469.     (Funexpand_abbrev): Likewise.
  13470.     * doc.c (Fsubstitute_command_keys): Likewise.
  13471.     * editfns.c (Finsert, Finsert_before_markers): Likewise.
  13472.     * minibuf.c (Fminibuffer_complete_word): Likewise.
  13473.     * mocklisp.c (Finsert_string): Use insert1.
  13474.     * vmsfns.c (Fdefault_subproc_input_handler): Likewise.
  13475.  
  13476.     * print.c: Don't use strout for the text of a Lisp string.
  13477.     (print_string): New function to use instead.
  13478.     (print): Use print_string when no escapes needed.
  13479.     When printing with escapes, protect the string and check addr often.
  13480.  
  13481. Mon Dec 24 18:42:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13482.  
  13483.     * insdel.c (insert_from_string): New function.
  13484.  
  13485. Thu Dec 20 18:09:19 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13486.  
  13487.     * term.c (ins_del_lines): Handle scroll region wrt chars_wasted.
  13488.  
  13489. Sun Dec 16 17:22:41 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13490.  
  13491.     * Globally renamed InsStr to insert_string.
  13492.  
  13493. Sat Dec 15 15:37:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13494.  
  13495.     * s-usg5-3.h (USG_SHARED_LIBRARIES): Define it.
  13496.  
  13497.     * m-intel386.h (C_SWITCH_MACHINE): New macro.
  13498.  
  13499. Sat Dec 15 13:36:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13500.  
  13501.     * alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String)
  13502.     instead of sizeof(int).
  13503.  
  13504. Fri Dec 14 03:31:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13505.  
  13506.     * keyboard.c (Fread_key_sequence): Clear this_command_key_count
  13507.     here; who unfixed this?
  13508.  
  13509. Wed Dec 12 16:17:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13510.  
  13511.     * abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil.
  13512.  
  13513. Tue Dec 11 21:45:27 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13514.  
  13515.     * eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV.
  13516.  
  13517. Mon Dec 10 00:11:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13518.  
  13519.     * m-pmax.h (SYSTEM_MALLOC): Define it.
  13520.  
  13521.     * process.c (wait_reading_process_input): Ignore failure with EIO.
  13522.  
  13523. Sun Dec  9 23:38:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13524.  
  13525.     * m-iris4d.h (LOAD_AVE_CVT): Divide by 1024.
  13526.     (LIB_STANDARD): Use -lbsd first.
  13527.     (LIBS_MACHINE): Don't use -lbsd here.
  13528.     * s-irix3-3.h (ADDR_CORRECT): Macro deleted.
  13529.     (LIBS_MACHINE): Macro deleted.
  13530.     (LDAV_SYMBOL): Delete the `_' from start of symbol.
  13531.  
  13532.     * process.c (create_process): Delete duplicate sigsetmask.
  13533.  
  13534.     * m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted.
  13535.     (C_SWITCH_MACHINE): Use -D to define alloca.
  13536.     (SIGN_EXTEND_CHAR): Use a cast.
  13537.  
  13538. Wed Dec  5 20:05:58 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13539.  
  13540.          * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
  13541.     (cmd_error): Protect TAIL while printing.
  13542.     (input_poll_signal, start_polling): Use polling_period.
  13543.     (syms_of_keyboard): Initialize it and make it a Lisp var.
  13544.  
  13545.     * fns.c (Fyes_or_no_p): Protect PROMPT for entire loop.
  13546.  
  13547.     * fileio.c (Frename_file): Protect args.
  13548.     * fileio.c (Fadd_name_to_file): Protect the args.
  13549.     (Fcopy_file, Fmake_symbolic_link): Likewise.
  13550.     (Finsert_file_contents): Protect FILENAME.
  13551.  
  13552. Tue Dec  4 16:00:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13553.  
  13554.     * eval.c (Fbacktrace): gcpro TAIL.
  13555.     * emacs.c (Fkill_emacs): gcpro ARG.
  13556.     * editfns.c (Fformat): remove remains of gcpro'd args.
  13557.  
  13558.     * dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version
  13559.     if CANNOT_DUMP.
  13560.  
  13561.     * dired.c (file_name_completion): Check that FILE is a string.
  13562.  
  13563.     * buffer.c (Fbury_buffer): Don't init BUF1.
  13564.  
  13565.     * doc.c (Fsubstitute_command_keys): Protect STR and don't keep a
  13566.     pointer to the middle of it.
  13567.  
  13568.     * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Override for BSD.
  13569.  
  13570.     * process.c (sigchld_handler): Clear synch_process_alive if the
  13571.     dying process isn't in the table at all.
  13572.     * callproc.c (call_process_cleanup): Clear synch_process_alive.
  13573.  
  13574. Mon Dec  3 13:48:08 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13575.  
  13576.     * callproc.c (Fcall_process): change synch_process_pid to
  13577.     synch_process_alive, as a general flag that we are waiting for
  13578.     a synchronous process to die.  This obviates the need to block
  13579.     SIGCHLDs until we know the pid.
  13580.     * sysdep.c (wait_for_termination): wait for synch_process_alive    to
  13581.     be false.
  13582.  
  13583.     * process.c (sigchld_handler): If pid not recognized, look for a
  13584.     process recorded with pid -1.
  13585.     (create_process): Set pid to -1 before the fork.
  13586.     Store correct pid right after the fork.
  13587.     Don't change sigchld handler on system V.
  13588.  
  13589.     * process.c (Fstart_process): Set BUFFER before other string vars
  13590.     so a gc in Fget_buffer_create won't clobber them.
  13591.  
  13592. Fri Nov 30 18:07:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13593.  
  13594.     * keyboard.c (read_command_char): Save and restore getcjmp.
  13595.  
  13596. Thu Nov 29 16:57:02 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13597.  
  13598.     * process.c (status_convert): Use WRETCODE for exited process.
  13599.  
  13600. Mon Nov 26 14:34:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13601.  
  13602.     * s-usg5-4.h (LIB_STANDARD): Add libucb.a.
  13603.     (NEED_PTEM_H): Define this instead of NEED_SIOCTL.
  13604.     * m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL):
  13605.     Undefine this.
  13606.     (NEED_PTEM_H): Likewise.
  13607.  
  13608.     * s-sunos4.h (O_NDELAY): Don't define this.
  13609.  
  13610.     * print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice.
  13611.  
  13612. Thu Nov 22 17:29:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13613.  
  13614.     * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD.
  13615.  
  13616. Wed Nov 21 15:59:58 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13617.  
  13618.     * dispnew.c (init_display): Check if we're using a window system
  13619.     before trying to initialize the terminal.  If someone has
  13620.     indicated that they want to use a window system, we shouldn't
  13621.     bother initializing the terminal.  This is especially important
  13622.     when the terminal is so dumb that emacs gives up and doesn't bother
  13623.     using the window system.
  13624.  
  13625. Tue Nov 20 19:02:02 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13626.  
  13627.     * print.c (Fexternal_debugging_output): added new function which
  13628.     writes a character to stderr, for use when debugging emacs with
  13629.     gdb.
  13630.  
  13631. Wed Nov 14 19:10:53 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13632.  
  13633.     * dispnew.c (window_change_signal): used to assume that SIGWINCHes
  13634.     always applied to the currently selected screen.  Now it scans the
  13635.     list of screens for a screen controlled by termcap, and changes that
  13636.     screen's size.
  13637.  
  13638. Tue Nov 13 12:04:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13639.  
  13640.     * fileio.c (err_str): New macro.
  13641.     (Finsert_file_contents, Fwrite_region): Use it in error messages.
  13642.  
  13643. Mon Nov 12 17:18:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13644.  
  13645.     * insdel.c (del_range): Supply missing arg to gap_left.
  13646.  
  13647. Sun Nov 11 15:45:03 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13648.  
  13649.     * regex.c: Disabled definition of NULL from lisp.h
  13650.  
  13651.     * crt0.c (_start): added static declaration of start1.
  13652.  
  13653.     * xfns.c: added definition for Vbar_cursor.
  13654.     (syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor.
  13655.  
  13656.     * xterm.c (XTread_socket): passed &event.xkey instead of &event to
  13657.     XLookupString, so things will typecheck nicely.
  13658.  
  13659.     * Globally rewrote all references to Vmouse_buffer to use the
  13660.     buffer viewed by Vmouse_window instead.
  13661.  
  13662.     * alloc.c (xmalloc, xrealloc): removed calls to
  13663.     {un,}hold_window_change.  The new SIGWINCH-handling code and
  13664.     do_pending_window_change make them unnecessary.
  13665.  
  13666. Sun Nov 11 14:12:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13667.  
  13668.     * process.c (wait_reading_process_input): Make Available static;
  13669.     don't clear when a nonzero bit is found.
  13670.  
  13671.     * fns.c (Fnthcdr): Stop loop if reach end.
  13672.  
  13673.     * dispnew.c: Include fcntl.h if HAVE_TERMIO.
  13674.  
  13675. Sat Nov 10 16:32:59 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13676.  
  13677.     * alloc.c (make_uninit_string): No longer declared static, and
  13678.     extern declaration added to lisp.h.  It's used in dired.c.
  13679.  
  13680. Thu Nov  8 22:34:30 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13681.  
  13682.     * dispnew.c (do_pending_window_change): Changed incorrect call to
  13683.     change_window_size_1 into a loop which scans list of screens and
  13684.     resizes those that need resizing.
  13685.  
  13686. Tue Nov  6 22:00:52 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13687.  
  13688.     * m-ibmrs6000.h (CANNOT_DUMP): Define it.
  13689.  
  13690.     * process.c (create_process): Unblock SIGCHLD in the child.
  13691.  
  13692.     * process.c (wait_reading_process_input): Don't read input
  13693.     from more than one process between calls to `select'.
  13694.  
  13695. Fri Nov  2 15:13:17 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13696.  
  13697.     * callint.c (syms_of_callint):
  13698.     Initialize Vprefix_arg and Vcurrent_prefix_arg.
  13699.  
  13700. Thu Nov  1 17:00:06 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13701.  
  13702.     * dired.c (Fdirectory_files): Avoid using MAXNAMLEN.
  13703.  
  13704. Wed Oct 31 10:36:08 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13705.  
  13706.     * process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif'
  13707.     clause.
  13708.  
  13709.     * bytecode.c: Included syntax.h to declare syntax_code_spec.
  13710.  
  13711.     * syntax.h (syntax_spec_code): Added extern declaration for this.
  13712.  
  13713.     * floatfns.c (float_error): Added static declaration for this at
  13714.     the top of the file.
  13715.  
  13716. Mon Oct 29 19:53:19 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13717.  
  13718.     * indent.c (position_indentation): renamed stray `bf_cur' to
  13719.     `current_buffer', and old `CharAt' usages to `FETCH_CHAR'.
  13720.     * buffer.c (Fbuffer_disable_undo): the symbol object for this
  13721.     subroutine was still named Sbuffer_flush_undo, and the symbol's
  13722.     lisp name was similarly out of date.  Renamed both, and added an
  13723.     alias in lisp/subr.el .
  13724.  
  13725.     * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being
  13726.     renamed to `meta_key'.
  13727.  
  13728. Mon Oct 29 16:56:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13729.  
  13730.     * process.c (Fprocess_send_region, Fprocess_send_string):
  13731.     Break data into bunches less than 500 bytes.
  13732.     Accept process output between bunches.
  13733.     ??? Must update manual.
  13734.  
  13735. Mon Oct 29 16:25:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13736.  
  13737.     * window.c (Fset_window_start, window_scroll): renamed stray
  13738.     references to `redo_mode_line' to `update_mode_line'.
  13739.  
  13740.     * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur'
  13741.     and `bf_modified' to `current_buffer' and `MODIFF'.
  13742.  
  13743. Thu Oct 25 16:55:07 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13744.  
  13745.     * environ.h: file created - contains declarations for users of the
  13746.     environment variable list.
  13747.     * callproc.c (environ): removed extern declaration of environ, and
  13748.     included environ.h.
  13749.  
  13750. Wed Oct 24 22:00:45 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13751.  
  13752.     * callproc.c (init_callproc): removed extern declaration of
  13753.     environ - it's already taken care of at the top of the file.
  13754.  
  13755.     * mocklisp.h: file created - externally declares certain
  13756.     functions defined in mocklisp.c.
  13757.     * lisp.h (Fread_buffer, Fread_key_sequence): added extern
  13758.     declarations for these functions.
  13759.     * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed
  13760.     extern declarations for these functions, included mocklisp.h.
  13761.     Moved external declaration of index to top of file.
  13762.  
  13763. Wed Oct 24 15:18:14 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13764.  
  13765.     * ymakefile (GNULIB_VAR): New make variable.
  13766.     (LIBES): Use that, not GNULIB directly.
  13767.     (GNULIB): Don't define if already defined.
  13768.  
  13769. Tue Oct 23 15:29:26 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13770.  
  13771.     * indent.h (last_known_column_point): added extern declaration for
  13772.     this variable.
  13773.     buffer.c (last_known_column_point): removed extern declaration for
  13774.     this variable, included indent.h.
  13775.     (Vprin1_to_string_buffer): removed extern declaration - it's
  13776.     already in lisp.h.
  13777.  
  13778.     * lisp.h (catchlist, backtrace_list, stack_bottom,
  13779.     current_global_map): added extern declarations for these
  13780.     variables.
  13781.     * alloc.c: removed external declarations for catchlist,
  13782.     backtrace_list, and stack_bottom, since this file includes
  13783.     lisp.h.
  13784.     * callint.c: (current_global_map): removed extern declaration.
  13785.  
  13786.     * search.h: new file - declares searchbuf.
  13787.     * dired.c (Fdirectory_files): removed extern declaration of
  13788.     searchbuf, included search.h.
  13789.  
  13790.     * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'.
  13791.  
  13792. Mon Oct 22 14:07:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13793.  
  13794.     * keyboard.c (quit_char): New variable.
  13795.     (init_keyboard): Initialize it.
  13796.     (Fset_input_mode): New optional arg to set quit_char.
  13797.     (command_loop_1, read_char, kbd_buffer_store_char):
  13798.     (read_avail_input): Use quit_char, not C-g.
  13799.     * sysdep.c (init_sys_modes): Use quit_char to set special chars.
  13800.     * xterm.c (x_term_init): Pass new arg to Fset_input_mode.
  13801.  
  13802. Mon Oct 22 00:48:27 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13803.  
  13804.     * xdisp.c: added `extern' declaration for command_loop_level.
  13805.  
  13806.     * term.c (term_init): Internal cleanups.
  13807.     (write_glyphs): renamed argument `start' to `string'.
  13808.  
  13809. Sun Oct 21 15:21:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13810.  
  13811.     * xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD.
  13812.     (SIGIO): Undefine if no FIONREAD.
  13813.     (ioctl.h, termio.h, strings.h, string.h): Include them before those.
  13814.  
  13815.     * alloc.c (make_vector_from_string, Fvector_from_string):
  13816.     Functions deleted.
  13817.  
  13818.     * sysdep.c (select): Handle timeout == 0.  Add var local_timeout.
  13819.  
  13820.     * alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE.
  13821.     (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise.
  13822.     (Fmake_vector_from_list): Likewise.
  13823.     (VALIDATE_LISP_STORAGE): New macro.
  13824.  
  13825. Sat Oct 20 00:59:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13826.  
  13827.     * dispnew.c (scrolling): Give up if some new lines not enabled.
  13828.     (update_screen): Rework outq logic.
  13829.  
  13830.     * xdisp.c (message, message1): Clear noninteractive_need_newline.
  13831.  
  13832. Fri Oct 19 18:14:10 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13833.  
  13834.     * scroll.c (do_scrolling): allocate queue using alloca instead
  13835.     of variable-sized arrays.
  13836.  
  13837. Fri Oct 19 17:25:34 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13838.  
  13839.     * buffer.c: Doc fix.
  13840.  
  13841. Thu Oct 18 14:40:04 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13842.  
  13843.     * print.c (internal_with_output_to_temp_buffer): install an
  13844.     unwind_protect to make sure the current buffer is restored.
  13845.  
  13846.     * minibuf.c (read_minibuf): call recursive_edit_1 instead of
  13847.     Frecursive_edit, to support the new command_loop_level
  13848.     arrangement.
  13849.  
  13850.     * malloc.c (calloc): Added this function, in case something linked
  13851.     with emacs calls it.
  13852.  
  13853.     * lread.c (openp): Since access returns 0 on success, change that
  13854.     into a 1 before returning it.
  13855.  
  13856.     * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no
  13857.     longer used.
  13858.  
  13859. Thu Oct 18 13:43:50 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13860.  
  13861.     * m-intel386.h (alloca): Define as builtin, if using GCC.
  13862.  
  13863.     * m-att3b.h (NEED_PTEM_H): Define this for 3b2.
  13864.  
  13865.     * s-aix3-1.h (SYSV_SYSTEM_DIR): Define it.
  13866.  
  13867.     * print.c (print): Improve error message for bad data type.
  13868.  
  13869. Thu Oct 18 13:02:54 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13870.  
  13871.     * keymap.c (Flookup_key): rearranged to use an index into the key
  13872.     sequence instead of a pointer and a level counter.
  13873.  
  13874. Thu Oct 18 12:53:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13875.  
  13876.     * floatfns.c (sinh, cosh): On VMS, define to use exp.
  13877.     (IN_FLOAT): Detect errors reported using errno.
  13878.     (float_error): Define function unconditionally.
  13879.     Reestablish handler when called, if not BSD.
  13880.  
  13881. Wed Oct 17 12:04:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13882.  
  13883.     * m-delta.h (C_DEBUG_SWITCH): Don't define this.
  13884.  
  13885. Wed Oct 17 00:05:44 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13886.  
  13887.     * keyboard.c (command_loop): made call to command_loop_2
  13888.     conditional on minibuf_level too (it used to be only conditional
  13889.     on command_loop_level), since this is what 18.56 and all the other
  13890.     functions in Emacs 19 keyboard.c do.
  13891.  
  13892. Tue Oct 16 23:55:24 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13893.  
  13894.     * keyboard.c (read_char): Don't echo dash if there is already
  13895.     something else being displayed in the echo area.
  13896.  
  13897. Tue Oct 16 13:23:37 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13898.  
  13899.     * process.c (status_convert): If killed by signal, use WTERMSIG.
  13900.  
  13901.     * data.c (arith_error): Reestablish handler on VMS.
  13902.  
  13903.     * keyboard.c (start_polling, stop_polling): New functions.
  13904.     (input_poll_signal): New function, handles periodic alarms.
  13905.     (read_command_char): Turn off polling temporarily.
  13906.     * xdisp.c (redisplay): Likewise.
  13907.     * process.c (wait_reading_process_input, create_process): Likewise.
  13908.  
  13909. Tue Oct 16 01:22:09 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13910.  
  13911.     * indent.c (position_indentation): instead of using CharAt, use a
  13912.     pointer to scan the buffer - this is faster.
  13913.  
  13914.     * emacs.c (Fdump_emacs): The conditional expression which passes
  13915.     symname to unexec was missing a `: 0'.
  13916.  
  13917.     * dispnew.c (rotate_vector): Was rotating backwards.
  13918.  
  13919. Mon Oct 15 23:37:57 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13920.  
  13921.     * dired.c (file_name_completion): Use scmp to compare names.
  13922.  
  13923. Mon Oct 15 00:27:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13924.  
  13925.     * process.c (create_process): Don't turn off handling of SIGCHLD.
  13926.     Just set a flag if a signal comes in when not wanted.
  13927.     (create_process_sigchld): New signal handler.
  13928.  
  13929. Sun Oct 14 18:22:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13930.  
  13931.     * bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer.
  13932.     Mark Bsymbol_function, Bfset, Bread_char as obsolete.
  13933.     Implement codes Bmult, Bforward_char...Bwiden,
  13934.     and Bstringeqlsign...Bintegerp.
  13935.  
  13936. Fri Oct 12 00:28:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13937.  
  13938.     * buffer.c (list_buffers_1): Select the buffer given in
  13939.     Vstandard_output using Fset_buffer instead of set_buffer_internal.
  13940.  
  13941.     * buffer.c (set_buffer_internal): deleted variable swb - it's
  13942.     never used.
  13943.  
  13944.     * buffer.c (count_modified_buffers): function deleted - it's
  13945.     not used anymore.
  13946.  
  13947. Thu Oct 11 23:30:01 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13948.  
  13949.     * buffer.c (reset_buffer_local_variables, buffer_local_variables):
  13950.     added support for default values for buffer local variables which
  13951.     do not have a DEFVAR_PER_BUFFER, as described in the comments
  13952.     above buffer_local_flags.
  13953.  
  13954.     * buffer.c (Fget_buffer_create): move initialization of
  13955.     b->save_length and b->last_window_start to reset_buffer.
  13956.  
  13957. Thu Oct 11 11:58:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13958.  
  13959.     * m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them.
  13960.     (C_DEBUG_SWITCH): Delete -fstrength-reduce.
  13961.  
  13962.     * unexmips.c (unexec): Add conditional for MIPS2.
  13963.  
  13964. Wed Oct 10 16:36:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13965.  
  13966.     * m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW.
  13967.  
  13968.     * unexelf.c: New file.
  13969.     * s-usg5-4.h: New file.
  13970.     * unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond.
  13971.     (copy_text_and_data): New second argument.
  13972.  
  13973. Wed Oct 10 12:00:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13974.  
  13975.         * alloc.c (gc_sweep): only unchain markers that are in a buffer.
  13976.  
  13977. Wed Oct 10 11:16:40 1990  Mike Rowan  (mtr at apple-gunkies)
  13978.  
  13979.     * process.c: Merged in more changes from 18.56: update_status,
  13980.     FD_SET changes (define all the FD_ macros).  Other small changes.
  13981.  
  13982. Tue Oct  9 17:30:26 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13983.  
  13984.     * xdist.c: (decode_mode_spec): reworked code to handle %* - it now
  13985.     goes like `if return else if return else ... return' instead of
  13986.     using a conditional operator.
  13987.  
  13988.     * xdist.c: (fmodetrunc): function deleted - no longer used.
  13989.  
  13990. Tue Oct  9 16:29:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13991.  
  13992.     * xdisp.c (decode_mode_spec): Handle dashes in wide windows.
  13993.  
  13994. Mon Oct  8 18:55:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13995.  
  13996.     * sysdep.c (sys_open, sys_close, sys_read, sys_write):
  13997.     Don't handle EAGAIN.
  13998.  
  13999.     * process.c (wait_reading_process_input): Handle nread==-1
  14000.     for O_NDELAY like O_NONBLOCK.
  14001.  
  14002.     * s-vms.h (LINK_CTRL_SHARE): Turn on again.
  14003.     tranle@intellicorp.com found it needed in VMS 5.3.
  14004.  
  14005.     * emacs.c (main): Move VMS declaration of environ outside function.
  14006.  
  14007.     * vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert.
  14008.  
  14009. Sun Oct  7 22:48:33 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14010.  
  14011.     * m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0.
  14012.  
  14013.     * s-sunos4.h (O_NDELAY): Define only if not defined.
  14014.  
  14015. Sat Oct  6 17:06:42 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  14016.  
  14017.     * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'.
  14018.  
  14019.     * sysdep.c (init_baud_rate): rearranged code for calculating
  14020.     baud_rate.
  14021.  
  14022. Fri Oct  5 14:44:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  14023.  
  14024.     * search.c (Freplace_match): used Finsert_buffer_substring instead
  14025.     of place and deleted place.
  14026.  
  14027.     * search.c (place): function removed
  14028.  
  14029.     * process.c (count_active_processes): Deleted; not used.
  14030.  
  14031.     * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'.
  14032.  
  14033. Mon Oct  1 15:52:35 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  14034.  
  14035.     * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'.
  14036.  
  14037.     * keyboard.c (describe_map): renamed `keys' to `string'.
  14038.  
  14039.     * keyboard.c `Vauto_save_interval' unrenamed back to
  14040.     `auto-save-interval'. 
  14041.  
  14042.     * keymap.c (Fdefine_key, Flookup_key): renamed arguments called
  14043.     `keys' to `key'.
  14044.  
  14045. Mon Oct  1 13:51:03 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14046.  
  14047.     * sysdep.c (sys_open, sys_close, sys_read, sys_write):
  14048.     Handle EAGAIN like EINTR.
  14049.  
  14050. Sun Sep 30 16:37:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14051.  
  14052.     * insdel.c (gap_left, gap_right): Use bcopy if requested.
  14053.     New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD,
  14054.     and BCOPY_SAFE_DOWNWARD.
  14055.  
  14056.     * eval.c (find_handler_clause): Bind debug-on-error to nil.
  14057.     (Qdebug_on_error): New variable.
  14058.     (syms_of_eval): Initialize that.
  14059.  
  14060.     * sysdep.c: Include various headers for ptys, for hpux, aix, and sysv.
  14061.  
  14062.     * dispnew.c (preserve_other_columns): Fix args to second bcopy.
  14063.  
  14064. Sun Sep 30 16:08:16 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  14065.  
  14066.     * keyboard.c: `auto_save_interval' renamed to
  14067.     `Vauto_save_interval', since it *is* a lisp-accessible variable.
  14068.  
  14069.     * fileio.c (Fdo_auto_save): call record_auto_save so that
  14070.     read_char knows when we've auto-saved.
  14071.  
  14072.     * keyboard.c (record_auto_save): added function to support the new
  14073.     auto-save conditions.
  14074.  
  14075.     * keyboard.c (read_char): use num_input_chars and last_auto_save
  14076.     instead of keystrokes to decide when to autosave.
  14077.  
  14078.     * keyboard.c (keystrokes): variable deleted.
  14079.  
  14080. Sun Sep 30 10:22:40 1990  Mike Rowan  (mtr at spike.ai.mit.edu)
  14081.  
  14082.         * keyboard.c and alloc.c:  added malloc warning code from
  14083.     18.56.
  14084.  
  14085.     * dispnew.c, xdisp.c: (un)hold_window_change no longer exists;
  14086.     added do_pending_window_change from 18.56.
  14087.  
  14088.     * process.[ch]:  added the raw_status_low and raw_status_high
  14089.     code from 18.56.
  14090.  
  14091. Sat Sep 29 00:04:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14092.  
  14093.     * alloca.s: Handle ns32000 like ns16000.
  14094.  
  14095.     * m-ns32000.h: New file.
  14096.  
  14097.     * lread.c (Fload): Warn if elc file older than source file.
  14098.  
  14099.     * ymakefile (LIB_X11_LIB): New parameter,default -lX11.
  14100.     (LIBX): Use that.
  14101.  
  14102.     * Makefile (xmakefile): Delete junk.c at the beginning.
  14103.  
  14104.     * hftctl.c: Include termios.h before termio.h.
  14105.     Define TCGETS and TCSETS if nec.
  14106.     Give some forward declarations for the static functions.
  14107.     Reformat in usual GNU style.
  14108.  
  14109.     * m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0.
  14110.  
  14111.     * m-delta.h: New file.
  14112.  
  14113. Fri Sep 28 17:57:46 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14114.  
  14115.     * fns.c (Frequire): Undo certain things on failure, like autoload.
  14116.  
  14117. Fri Sep 28 12:39:11 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  14118.  
  14119.     * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and
  14120.     changed argument to open from `1' to `O_WRONLY'.
  14121.  
  14122.     * fileio.c (O_WRONLY): added clause to define this if not already
  14123.     defined.
  14124.  
  14125.     * emacs.c (Fdump_emacs): removed a_name variable.
  14126.  
  14127.     * emacs.c (Fkill_emacs): removed code which asked about modified
  14128.     buffers and running subprocesses.
  14129.  
  14130.     * editfns.c (Fcurrent_time_string): renamed variable `now' to
  14131.     `current_time'.
  14132.  
  14133.     * dispnew.c (update_line): renamed variables `m1' and `m2' to
  14134.     `begmatch' and `endmatch'.
  14135.  
  14136.     * dispnew.c (update_screen): use preempt_count as a limit instead
  14137.     of a counter; count with i instead.
  14138.  
  14139.     * dispnew.c (visible_bell, inverse_video, baud_rate,
  14140.     Vwindow_system): rearranged comments.
  14141.  
  14142. Thu Sep 27 20:59:54 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14143.  
  14144.     * emacs.c (main) : Set the DISPLAY environment value when both of
  14145.     MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined.
  14146.  
  14147.     * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they
  14148.     cause an unnecessary C1/C2 dependency.
  14149.  
  14150.     * m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify
  14151.     where crt0.c begins.
  14152.  
  14153.     * m-convex.h (HAVE_SETSID): define; must call setsid
  14154.     when creating an inferior with a different controlling tty.
  14155.     * process.c (create_process): rearrange so that HAVE_SETSID
  14156.     will be seen when not under USG.
  14157.  
  14158.     * m-convex.h (S_IFMT etc): define in case of posix compilation.
  14159.  
  14160.     * m-convex.h (FIRST_PTY_LETTER): do it at runtime.
  14161.     * unexconvex.c (first_pty_letter): routine to locate lowest pty.
  14162.  
  14163.     * unexconvex.c: Rewrite so it can cope with thread-local sections.
  14164.  
  14165.     * sysdep.c (select): Use process_tick and update_tick,
  14166.     not child_changed.
  14167.  
  14168. Sun Sep 23 14:25:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14169.  
  14170.     * keyboard.c (Fsuspend_emacs): Check screen size after resume.
  14171.  
  14172. Wed Sep 19 18:21:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14173.  
  14174.     * editfns.c: Doc fix.
  14175.  
  14176. Tue Sep 18 09:21:44 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14177.  
  14178.     * window.c (Fsplit_window): Minor cleanup.
  14179.  
  14180. Mon Sep 17 11:22:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14181.  
  14182.     * emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk.
  14183.  
  14184. Thu Sep 13 15:40:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14185.  
  14186.     * floatfns.c (float_error_arg): New variable.
  14187.     (IN_FLOAT): New arg; sets float_error_arg.  All uses changed.
  14188.     (float_error): Use that value when signaling error.
  14189.  
  14190. Tue Sep 11 16:25:53 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14191.  
  14192.     * unexaix.c, m-ibmr2.h, s-aix3-1.h: New files.
  14193.  
  14194.     * ymakefile (allocaobj): New variable.  Used in otherobjs.
  14195.     Eliminates assignment of mallocobj using itself.
  14196.     (mallocobj): Handle SYSTEM_MALLOC without HAVE_ALLOCA.
  14197.     (xemacs): Use -nl option if HAVE_SHM.
  14198.  
  14199.     * sysdep.c: Change IBMRTAIX conditionals to AIX.
  14200.     Move hft.h to the top.
  14201.     [IBMR2AIX]: Use termios.h and change macros accordingly.
  14202.     (child_setup_tty): Change IBMRTAIX to AIX.
  14203.     (setpgrp_of_tty): Handle IBMR2AIX.
  14204.     (init_sys_modes): Handle IBMR2AIX.  Output special things for AIX.
  14205.     (reset_sys_modes): Output special things for AIX.
  14206.     (hft_init, hft_reset): Conditionals for IBMR2AIX.
  14207.  
  14208.     * process.c: Change IBMRTAIX to AIX controlling time.h.
  14209.     [AIX]: Include sys/pty.h and unistd.h.
  14210.     (wait_reading_process_input): If AIX, handle EBADF differently.
  14211.     (create_process): Handle HAVE_SETSID.  Change conditional to AIX.
  14212.  
  14213.     * lisp.h (XPNTR): New definition if HAVE_SHM.
  14214.     (NULL): Undef before defining.
  14215.  
  14216.     * emacs.c (main): If HAVE_SHM, call map_in_data.
  14217.     Use AIX, not IBMRTAIX, for signal conditional.
  14218.     (Fdump_emacs_data): New function if HAVE_SHM.
  14219.     (Fdump_emacs): Don't define if HAVE_SHM.
  14220.  
  14221.     * alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment.
  14222.  
  14223. Mon Sep  3 19:13:05 1990  Mike Rowan  (mtr at apple-gunkies)
  14224.  
  14225.     * sysdep.c: added setup_pty from 18.56
  14226.  
  14227.     * process.c:  merged in 18.55->6 changes.  Same for process.h
  14228.  
  14229.     * globally replaced:
  14230.            redisplay_preserving_echo_area -> redisplay_preserve_echo_area
  14231.            SetBfp -> set_buffer_internal 
  14232.            buffer_flush_undo -> buffer_disable_undo 
  14233.            redo_mode_line -> update_mode_line  (window.h)
  14234.  
  14235. Fri Aug 31 14:17:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14236.  
  14237.     * data.c (Fmake_local_variable): If var is local when set, make it
  14238.     local now in this buffer.
  14239.  
  14240.     * data.c (Fstring_to_int): Finish eliminating second arg.
  14241.  
  14242.     * data.c (Faset): Require integer as third arg for string.
  14243.  
  14244. Tue Aug 28 15:10:28 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14245.  
  14246.     * search.c: Doc fix.
  14247.  
  14248.     * screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro.
  14249.     * xdisp.c (screen_bottom_vpos): Variable used if just one screen.
  14250.     (redisplay, try_window_id): Set that field in screen.
  14251.     * dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos.
  14252.  
  14253.     * dispnew.c (scroll_screen_lines): Mark newly empty lines as empty.
  14254.     (scrolling): Give up if any line in current_screen not enabled.
  14255.  
  14256. Mon Aug 27 21:40:31 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  14257.  
  14258.     * dired.c (Ffile_attributes): Return the device number too (elt 11
  14259.     of the returned list).
  14260.  
  14261. Mon Aug 27 12:42:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14262.  
  14263.     * sysdep.c (wait_for_kbd_input): Frob waiting_for_input here.
  14264.     * keyboard.c (kbd_buffer_read_command_char): Not here.
  14265.  
  14266.     * sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing
  14267.     process input.
  14268.  
  14269.     * fileio.c (Fdirectory_file_name): On VMS, leave space for log name.
  14270.  
  14271.     * sysdep.c (init_sys_modes): Clear process_ef only the first time.
  14272.  
  14273.     * vmsfns.c (process_exit): Logic of deletion was wrong.
  14274.     (Fspawn_subprocess): Correctly reuse existing struct process_list.
  14275.  
  14276. Wed Aug 22 12:40:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14277.  
  14278.     * m-plexus.h (LD_SWITCH_MACHINE): New macro.
  14279.  
  14280. Wed Aug 22 11:23:39 1990  Joseph Arceneaux  (jla at geech)
  14281.  
  14282.     * xterm.c (XTread_socket): Cleaned up #ifdefs prior to event
  14283.     reading loop.  Also handle FIOSNBIO.
  14284.  
  14285. Sun Aug 19 14:04:15 1990  Joseph Arceneaux  (jla at geech)
  14286.  
  14287.     * xterm.c (dumplyphs): Last vestige of MScreenWidth removed.
  14288.     * config.h: MScreenWidth, MScreenHeight definitions removed.
  14289.  
  14290. Sat Aug 18 21:23:49 1990  Joseph Arceneaux  (jla at geech)
  14291.  
  14292.     * scroll.c (do_scrolling): Pass the correct sizes to bcopy.
  14293.     * dispnew.c (make_screen_glyphs): Likewise.
  14294.  
  14295. Thu Aug 16 11:35:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14296.  
  14297.     * dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal
  14298.     with the X components of screen_glyphs if SCREEN_IS_X.
  14299.     free_screen_glyphs now takes screen argument.
  14300.  
  14301.     * window.c (Fnext_window, Fprevious_window): Fixed typo.  New
  14302.     behaviour:  mini non-nil implies all_screens if global mini screen
  14303.     exists, implies current screen only if not.
  14304.     (Fdisplay_buffer): Simplification of multi-screen code.
  14305.  
  14306. Wed Aug 15 17:24:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14307.  
  14308.     * buffer.c: Doc fix.
  14309.  
  14310. Wed Aug 15 16:59:46 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14311.  
  14312.     * dispnew.c (update_line): Simplification of pixel size code, only
  14313.     done if screen is X.
  14314.     (update_screen): Only set pixel stuff if screen is X.
  14315.  
  14316. Tue Aug 14 23:35:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14317.  
  14318.     * m-targon31.h (NO_REMAP): Definition removed.
  14319.     (SEGMENT_MASK): New macro.
  14320.  
  14321. Tue Aug 14 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14322.  
  14323.     * lread.c (eval-region): Don't set opoint to point, etc.
  14324.     Fnarrow_to_region from BEGV, not b.
  14325.     (eval-buffer): New subr, generalization of eval-current-buffer.
  14326.     (eval-current-buffer): Moved to elisp, in simple.el.
  14327.  
  14328.     * xfns.c (x_y_pos): Nuked.  Replaced by pixel_to_char_translation
  14329.     and notice_mouse_movment (dispnew.c, xterm.c).
  14330.     (Fx_point_coordinates): Also nuked.
  14331.     mouse_buffer_offset:  New lisp variable.
  14332.  
  14333.     * xterm.c (notice_mouse_movement): Use it in call to
  14334.     pixel_to_char_translation.
  14335.  
  14336.     * screen.h: For non-multiscreen, XSCREEN returns selected_screen,
  14337.     as does WINDOW_SCREEN.
  14338.  
  14339.     * xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for
  14340.     mode line.
  14341.     All occurences of struct screen * replaced with SCREEN_PTR.
  14342.  
  14343. Mon Aug 13 19:09:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14344.  
  14345.     * xmenu.c (list_of_items, list_of_panes): Fixed wrong params to
  14346.     wrong_type_argument.
  14347.  
  14348. Sun Aug 12 12:32:27 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14349.  
  14350.     * dispnew.c (pixel_to_char_translation):  New algorithm for
  14351.     finding y.
  14352.  
  14353.     * xfns.c (install_*_scrollbar): No more height, width parameters.
  14354.     Don't block input here.
  14355.     (x_set_*_scrollbar): Block input here.
  14356.  
  14357.     * xterm.c (notice_mouse_motion): Check if the mouse is still in
  14358.     the window.
  14359.     (encode_mouse_button): Don't bother about motion types.
  14360.  
  14361. Sat Aug 11 19:00:49 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14362.  
  14363.     * m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE):
  14364.     (LD_SWITCH_MACHINE): Add definitions for Convex V 4.0.
  14365.  
  14366. Sat Aug 11 13:09:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14367.  
  14368.     * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape,
  14369.     setting new variable grabbed_cursor.  Return Qt if successful,
  14370.     Qnil otherwise.
  14371.     (Fx_ungrab_pointer): free grabbed_cursor if non zero.  Return Qnil.
  14372.  
  14373. Fri Aug 10 09:27:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14374.  
  14375.     * xfns.c (x_figure_window_size): Don't set pixel sizes until
  14376.     height and width are determined.
  14377.  
  14378. Wed Aug  8 12:48:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14379.  
  14380.     * xfns.c (Fx_grab_pointer): New parameter to explicitly ignore
  14381.     keyboard events.
  14382.  
  14383.     * xterm.c (notice_mouse_movement): Use pixel_to_char_translation
  14384.     to get char position and buffer offset.
  14385.  
  14386. Tue Aug  7 21:35:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14387.  
  14388.     * sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h.
  14389.  
  14390. Tue Aug  7 11:22:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14391.  
  14392.     * dispextern.h: element bufp of screen_glyphs no longer dependent
  14393.     on X windows.
  14394.     * xdisp.c (display_text_line): Likewise.
  14395.  
  14396.     * xfns.c (Fx_grab_pointer, Fx_ungrab_pointer): New subrs.
  14397.     (x_figure_window_size): Set pixel_width and pixel_height of
  14398.     screen, using font height and width.
  14399.  
  14400.     * xfns.c: Vmouse_grabbed renamed Vmouse_depressed.
  14401.     * xterm.c: Likewise.
  14402.     (construct_mouse_event): Don't check mouse coordinates;  this is
  14403.     done by the notice_mouse_motion.  Don't grab the mouse here.
  14404.  
  14405.     * dispnew.c (update_line): Set the pix_width and pix_height of the
  14406.     line.  This fashion of doing so is temporary.
  14407.  
  14408. Mon Aug  6 13:57:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14409.  
  14410.     * dispextern.h: screen_glyphs struct elements bottom_right_x,
  14411.     bottom_right_y changed to pix_width and pix_height.
  14412.     * scroll.c: Likewise.
  14413.     * dispnew.c: Likewise.
  14414.     (update_screen): Set top_left_x, top_left_y for X windows.
  14415.  
  14416.     * xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display
  14417.     structure elements.
  14418.  
  14419. Sun Aug  5 12:07:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14420.  
  14421.     * xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter
  14422.     PART_PTR, rather than string.
  14423.     Declare these symbols.
  14424.     New variable Vscreen_part, indicates which part of the screen the
  14425.     mouse is in.
  14426.  
  14427.     * xterm.c (notice_mouse_motion): Do XQueryPointer first thing.
  14428.     Set Vmouse_event to Qnil.
  14429.     (construct_mouse_event): Don't check if mouse has moved or not.
  14430.     When returning cons, part is now already lisp symbol.
  14431.     (XTread_socket): Set Vmouse_window = Vscreen_part = Qnil when
  14432.     leaving screen, as well as setting x_mouse_x = x_mouse_y = -1.
  14433.  
  14434.     * keyboard.c: Vmouse_window, Vmouse_event declared extern and no
  14435.     longer DEFVARed:  they are already delclared in window.c
  14436.  
  14437.     * screen.c (window_from_coordinates): Use Fnext_window, even if
  14438.     MULTI_SCREEN, to obtain the next window.  This is an test.
  14439.     Also, new paramater part returns text or modeline symbol.
  14440.     (Flocate_window_from_coordinates): Pass &part to
  14441.     window_from_coordinates.
  14442.     (coordinates_in_window): Don't say modeline if window_height is 1,
  14443.     as this is likely to be the minibuffer.
  14444.  
  14445. Sat Aug  4 13:43:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14446.  
  14447.     * screen.c (Fcoordinates_in_window_p): Doc fix.  Simplified.
  14448.     (window_from_coordinates):  New function.
  14449.     (Flocate_window_from_coordinates):  Use it.
  14450.  
  14451.     * keyboard.c (classify_object):  New function for dealing with the
  14452.     input object.  New symbol, mouse-motion, called here.
  14453.     Call to mouse-motion-handler now takes no parameters.
  14454.     (read_key_sequence):  Use the new function.  Don't set keybuf[0]
  14455.     to 0.
  14456.  
  14457.     * xterm.c (init_input_symbols):  Create all the Lisp symbols
  14458.     returned in the input stream.
  14459.     func_key_syms:  New array to hold all symbols for function keys.
  14460.     (x_func_key_to_sym): Use this array.
  14461.     (notice_mouse_movement): New function for dealing with motion
  14462.     events.
  14463.     (XTread_socket): Use it here.
  14464.  
  14465. Thu Aug  2 22:26:45 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14466.  
  14467.     * callproc.c (child_setup): Report error in chdir.
  14468.  
  14469. Wed Aug  1 12:01:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14470.  
  14471.     * lisp.h: New macro XFLOATINT.  extract_float declared.
  14472.     * floatfns.c (Ffloor): Call floor, not ceil.
  14473.     (extract_float): No longer static.
  14474.     * bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign.
  14475.  
  14476. Tue Jul 31 23:25:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14477.  
  14478.     * keyboard.c (read_key_sequence): When downcasing letters,
  14479.     don't change the value returned in keybuf.
  14480.     (This is an experiment; it might be unpleasant in
  14481.     things such as C-h c, but it is an improvement
  14482.     for M-x global-set-key.)
  14483.  
  14484. Mon Jul 30 13:46:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14485.  
  14486.     * eval.c: Doc fix.
  14487.  
  14488. Sat Jul 28 22:19:32 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14489.  
  14490.     * s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix.
  14491.  
  14492. Thu Jul 26 21:49:47 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14493.  
  14494.     * indent.c (Fmove_to_column): End-test was off by 1.
  14495.  
  14496.     * abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg.
  14497.  
  14498. Thu Jul 26 14:26:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14499.  
  14500.     * xdisp.c (display_text_line):  String to rope copy for inserting
  14501.     arrow text.
  14502.  
  14503. Wed Jul 25 15:21:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14504.  
  14505.     * xdisp.c (display_mode_line): Check that the name has actually
  14506.     changed before calling x_set_name.
  14507.  
  14508.     * ralloc.c (check_memory_limits):  New function.
  14509.     Also check if new memory will be larger than elisp pointer.
  14510.     (r_alloc_sbrk): Call this function.
  14511.     (relocate_blocs_upward, relocate_blocs_downward): Eliminated.
  14512.     (r_alloc_sbrk): Use relocate_some_blocs instead of the eliminated
  14513.     functions.
  14514.  
  14515.     * vm-limit.c (morecore_with_warning): Check if new memory larger
  14516.     than elisp pointer size.
  14517.  
  14518. Tue Jul 24 21:14:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14519.  
  14520.     * keyboard.c (save_getcjmp, restore_getcjmp): New functions.
  14521.     (read_char): Use them around Fdo_auto_save.
  14522.     * process.c (read_process_output, exec_sentinel): Use them.
  14523.     * fileio.c (Fdo_auto_save): Run auto-save-hook.
  14524.  
  14525. Tue Jul 24 11:35:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14526.  
  14527.     * dispnew.c (safe_bcopy): No longer static.
  14528.  
  14529.     * ralloc.c (relocate_blocs_upward, relocate_blocs_downward):  Use
  14530.     safe_bcopy.
  14531.  
  14532.     * mem_limits.c:  typedef SIZE.
  14533.  
  14534. Thu Jul 19 10:18:32 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14535.  
  14536.     * fileio.c (Finsert_file_contents): Initialize how_much when exiting
  14537.     main loop.
  14538.  
  14539.     * m/m-mips.h: Added stuff from the 18.56 version.
  14540.  
  14541. Wed Jul 18 15:00:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14542.  
  14543.     * indent.c (Fmove_to_column):  Set end to ZV.
  14544.  
  14545. Tue Jul 17 21:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14546.  
  14547.     * editfns.c (init_editfns): Let envvar NAME override full name.
  14548.  
  14549.     * buffer.c (list_buffers_1): Avoid error with list-buffers-directory.
  14550.  
  14551. Tue Jul 17 14:32:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14552.  
  14553.     * buffer.c (list_buffers_1):  Don't check list-buffers-directory.
  14554.  
  14555. Mon Jul 16 10:03:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14556.  
  14557.     * xdisp.c (display_text_line):  Don't print ellipsis if they're
  14558.     off the left edge.
  14559.  
  14560. Tue Jul 10 16:01:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14561.  
  14562.     * s-386-ix.h: Define BROKEN_TIOCGETC.
  14563.  
  14564. Mon Jul  9 14:33:07 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14565.  
  14566.     * m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START
  14567.     and DATA_SEG_BITS.
  14568.  
  14569. Thu Jul  5 13:38:24 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14570.  
  14571.     * s-iris3-6.h (HAVE_GETWD): Define this.
  14572.     (KERNEL_FILE): Change to /unix.
  14573.     (sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off.
  14574.     (SIGIO): Don't undefine it.
  14575.     (LIBS_MACHINE): Remove -lbsd.
  14576.  
  14577.     * minibuf.c (Fall_completions, do_completion): Treat nil as alist.
  14578.     (Ftry_completion): Likewise.
  14579.  
  14580. Sun Jul  1 17:21:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14581.  
  14582.     * sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined.
  14583.     * s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC.
  14584.  
  14585. Tue Jun 26 17:15:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14586.  
  14587.     * process.c (Fopen_network_connection): Minor cleanup.
  14588.  
  14589. Wed Jun 20 12:45:36 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14590.  
  14591.     * m-sun3.h: Add comments for dealing with 68881.
  14592.  
  14593. Tue Jun 19 16:58:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14594.  
  14595.     * m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH,
  14596.     and don't define LIBS_MACHINE.
  14597.     (HAVE_WAIT_HEADER): Define this.
  14598.     Also reordered definitions so recently added ones are together.
  14599.  
  14600. Sun Jun 17 17:56:27 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14601.  
  14602.     * insdel.c (insert): Error if buffer would get too long.
  14603.     * fileio.c (Finsert_file_contents): Likewise.
  14604.  
  14605. Sat Jun 16 23:33:20 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14606.  
  14607.     * syntax.c (scan_sexps_forward): Allow Squote inside symbols.
  14608.  
  14609. Sat Jun 16 17:03:45 1990  Joseph Arceneaux  (jla at geech)
  14610.  
  14611.     * window.c (Fscroll_other_window): Don't unbind_to.  Keep track of
  14612.     current_buffer and point explicitly.
  14613.  
  14614. Fri Jun 15 11:32:42 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14615.  
  14616.     * term.c: (cursor_to): Only add chars_wasted if not calling hook.
  14617.     (clear_end_of_line_raw): Likewise.
  14618.     (clear_end_of_line): Check that screen is termcap before using
  14619.     chars_wasted.
  14620.     (ins_del_lines): Eliminated local copybuf[].
  14621.     (calculate_ins_del_char_costs): Now has screen parameter.
  14622.     DCICcost: Change to char_ins_del_costs and defined with
  14623.     SCREEN_WIDTH (screen).
  14624.     DC_ICcost: Changed to char_ins_del_vector.
  14625.     * term.h: DCICcost no longer defined here.  DC_ICcost no longer
  14626.     declared here.
  14627.     * dispnew.c: char_ins_del_cost defined here.  char_ins_del_vector
  14628.     declared extern here.
  14629.  
  14630. Thu Jun 14 19:11:11 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14631.  
  14632.     * Globally replaced screen_width with macro
  14633.     SCREEN_WIDTH (selected_screen).
  14634.     * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from
  14635.     screen_width.
  14636.     (change_window_size):  No longer check output_type and set
  14637.     ScreenRows.
  14638.  
  14639. Mon Jun 11 22:55:37 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14640.  
  14641.     * indent.c (Findent_to): Don't fail to return value.
  14642.     (Fmove_to_column, Fcurrent_column): Doc fixes.
  14643.  
  14644. Wed Jun  6 12:13:30 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14645.  
  14646.     * keyboard.c (echo_prompt):  Now uses glyphs.
  14647.     echobuf, echobuf_ptr:  These variables now glyphs.
  14648.  
  14649. Tue Jun  5 20:02:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14650.  
  14651.     * fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set
  14652.     omessage.
  14653.     * alloc.c (Fgarbage_collect): Ditto.
  14654.  
  14655.     * xdisp.c (message):  message_buf set here, realloced if smaller
  14656.     than screen width.
  14657.     message_buf now type GLYF *.  New variable message_buf_size holds
  14658.     its size.
  14659.     Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set
  14660.     echo_area_glyphs.
  14661.  
  14662.     * print.c (printchar, strout):  Use message_buf_size.  Convert to
  14663.     glyfs before assigning chars.
  14664.     (str_to_glyph_cpy, str_to_glyph_ncpy, 
  14665.     glyph_to_str_cpy, glyph_to_str_ncpy):  New functions.
  14666.  
  14667. Sun Jun  3 14:00:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14668.  
  14669.     * keyboard.c (command_loop_1): Clear this_command_key_count here.
  14670.     (Fread_key_sequence): And here.
  14671.     (read_key_sequence): Not here.
  14672.  
  14673.     * dispnew.c (update_screen):
  14674.     Add missing else in handling cursor_in_echo_area.
  14675.     * xdisp.c (redisplay_window): Eliminate lpoint.  Alter opoint 
  14676.     if point should be changed permanently in the selected window.
  14677.  
  14678.     * window.c (unshow_buffer): Don't set pt in selected window's buffer.
  14679.  
  14680.     * xdisp.c (decode_mode_spec): Don't truncate buffer or file name.
  14681.  
  14682.     * editfns.c (Finsert_buffer_substring): Don't fail to set beg, end.
  14683.  
  14684.     * keyboard.c (command_loop_level): New variable.
  14685.     Used in place of RecurseDepth, but different meaning.
  14686.     (recursive_edit_1): New function.
  14687.     (Frecursive_edit): Call it.
  14688.     * minibuf.c (read_minibuf): Call recursive_edit_1.
  14689.     * xdisp.c (RecurseDepth): Variable deleted.
  14690.     display_minibuffer_message renamed echo_area_display.
  14691.  
  14692.     * print.c: Include dispextern.h.
  14693.     (printchar, strout): Use message_buf.
  14694.  
  14695.     * scroll.c (CalcIDCosts): Dynamically allocate ILcost, etc.
  14696.     (ILcost, DLcost, ILncost, DLncost): Now pointers.
  14697.     (do_scrolling): Use alloca for queue.
  14698.  
  14699.     * term.c (term_init):  selected_screen as arg to calculate_costs.
  14700.     (calculate_costs):
  14701.     Dynamically allocate chars_wasted, copybuf, DC_ICcost.
  14702.     Set RPov based on actual width.
  14703.     (chars_wasted, copybuf, DC_ICcost): Now pointers.
  14704.  
  14705.     * xterm.c (x_term_init): Don't set dont_calculate_costs anymore.
  14706.  
  14707. Sat Jun  2 21:28:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14708.  
  14709.         * term.c (calculate_ins_del_char_costs, string_cost_one_line):
  14710.     Made static.
  14711.  
  14712.     * dispnew.c: Declare scrolling_1;
  14713.  
  14714.     * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  Renamed
  14715.     calculate_ins_del_char_costs, ins_del_costs, and line_ins_del.
  14716.     CalcIDCosts1 and CalcLID also renamed.
  14717.     (calculate_scrolling):  Now void.
  14718.  
  14719.     * Global renaming:  bf_modified -> MODIFF.  CharAt -> CHAR_AT_POSITION.
  14720.     BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF.
  14721.     SetPoint -> SET_PT.
  14722.  
  14723.     * xterm.c (x_term_init): Don't CalcIDCosts here anymore.
  14724.  
  14725. Fri Jun  1 16:11:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14726.  
  14727.     * print.c: Include dispextern.h.
  14728.     (printchar, strout): Use message_buf.
  14729.  
  14730.         * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght.
  14731.     * term.c:  Likewise.
  14732.  
  14733.         * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  These now take a
  14734.     screen argument.
  14735.     (CalcIDCosts): Dynamically allocate ILcost, etc.
  14736.     (ILcost, DLcost, ILncost, DLncost): Now pointers.
  14737.     (do_scrolling): Use alloca for queue.
  14738.  
  14739.     * dispnew.c (remake_screen_structures): Allocate message_buf.
  14740.     Don't use MscreenWidth, MscreenLenght.
  14741.  
  14742.     * xdisp.c: bf_cur replaced with current_buffer.
  14743.     Calls to SetBfx deleted.
  14744.     message_buf is now char *.
  14745.     (message): Use SCREEN_WIDTH macro as limit for doprnt.
  14746.  
  14747.     * indent.c (current_column): Detect special case when point == BEGV.
  14748.  
  14749.     * buffer.h (struct buffer_text): Component modified renamed to
  14750.     modiff. All refs changed to macros below.
  14751.     (MODIFF, BUF_MODIFF): New macros.
  14752.     Macro SetBfx removed.
  14753.     Macro SetPoint renamed SET_PT.
  14754.  
  14755.     * fileio.c (Fexpand_file_name):  Simplified.
  14756.  
  14757. Fri Jun  1 14:00:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14758.  
  14759.     * dired.c: Doc fix.
  14760.  
  14761. Thu May 31 19:48:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14762.  
  14763.     * search.c (Fsearch_forward): Docstring fix.
  14764.  
  14765. Thu May 31 16:43:33 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14766.  
  14767.     * dired.c: Comment added.
  14768.  
  14769. Thu May 31 14:42:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14770.  
  14771.     * process.c (Fprocess_connection):  Return the type of a process
  14772.     object. 
  14773.     (syms_of_process):  Initialize pty_process and stream_process.
  14774.     Declare Fprocess_type.
  14775.     * process.h  New element type to struct Lisp_Process.
  14776.  
  14777.     * syntax.c (scan_sexps_forward): Initialize curlevel->last to -1.
  14778.  
  14779. Mon May 28 20:06:52 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14780.  
  14781.     * fileio.c (Finsert_file_contents):  Use new variable how_much to
  14782.     hold read result.
  14783.  
  14784. Thu May 24 18:47:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14785.  
  14786.     * lread.c (read_char_exclusive):  New subr.
  14787.  
  14788. Thu May 24 15:56:40 1990  David Lawrence  (tale at pogo.ai.mit.edu)
  14789.  
  14790.     * fileio.c (file_executable_p):  New function.
  14791.  
  14792. Wed May 23 01:49:49 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14793.  
  14794.     * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was
  14795.     successful.
  14796.  
  14797.     * editfns.c (syms_of_editfns):  DEFVAR the new variables.
  14798.  
  14799.     * eval.c (Finteractive_p): Don't skip the first frame if the
  14800.     function was compiled.
  14801.  
  14802.     * print.c (print): Use ... only for conses, and instead of normal
  14803.     print.
  14804.  
  14805. Tue May 22 17:18:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14806.  
  14807.     * Renamed meta_flag meta_key.
  14808.  
  14809.     * termopts.h:  Comment changes.
  14810.  
  14811. Sun May 20 01:16:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14812.  
  14813.     * buffer.h: upcase_table and downcase_table are now Lisp_Objects.
  14814.     * alloc.c (mark_object, gc_sweep):  Related changes.
  14815.     * casetab.c: Ditto.
  14816.  
  14817. Thu May 17 15:02:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14818.  
  14819.     * minibuf.c (Fall_completions): Protect STRING from gc.
  14820.     Copy ALIST to TAIL to protect it.
  14821.  
  14822.     * paths.h-dist: Doc fix.
  14823.  
  14824. Thu May 17 12:30:18 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14825.  
  14826.     * search.c (Flooking_at, search_buffer): Use new accessors.
  14827.     * indent.c (Fcurrent_column): Likewise.
  14828.     * minibuf.c (read_minibuf): Likewise.
  14829.     * regex.c (re_match_2): Use PTR_CHAR_POS.
  14830.     * editfns.c (Fbuffer_size, Fnarrow_to_region, Fbuffer_substring):
  14831.     (Fbuffer_string, Finsert_buffer_substring): Likewise.
  14832.     (save_restriction_restore): Likewise.
  14833.     * dispnew.c (direct_output_for_insert): Likewise.
  14834.     * fileio.c (Fwrite_region, Finsert_file_contents): Likewise.
  14835.     (Fdo_auto_save): Likewise.
  14836.     * insdel.c (move_gap, gap_left, gap_right, make_gap): Likewise.
  14837.     (InsCStr, del_range, modify_region): Likewise.
  14838.     * process.c (Fprocess_send_region): Likewise.
  14839.     * xdisp.c (try_window, try_window_id, display_text_line): Likewise.
  14840.     (redisplay): Likewise.
  14841.     * buffer.c (list_buffers_1): Likewise.
  14842.     * marker.c (marker_position, Fset_marker, set_marker_restricted): 
  14843.     (Fmarker_position): Likewise.
  14844.     * window.c (unshow_buffer, Fset_window_configuration): Likewise.
  14845.     (Fset_window_buffer): Likewise.
  14846.  
  14847.     * editfns.c (save_restriction_restore): Use a macro to alter point.
  14848.  
  14849.     * lread.c (readchar): Use new accessors, and avoid knowing about
  14850.     the text field of a buffer.
  14851.     * window.c (Fpos_visible_in_window_p): Likewise.
  14852.  
  14853.     * buffer.h (struct buffer): Make the syntax table a Lisp object.
  14854.     * alloc.c (mark_buffer): No need to treat it specially.
  14855.     * syntax.c (Fsyntax_table, Fset_syntax_table, Fdescribe_syntax):
  14856.     (Fmodify_syntax_entry): Adjust for this change.
  14857.     * buffer.c (reset_buffer_local_variables): Need not be special.
  14858.     (init_buffer_once): Make this slot a defaulted local variable.
  14859.     * syntax.h: Adjust macros for this change.
  14860.     (Vstandard_syntax_table): Define as macro, in buffer_defaults.
  14861.     * syntax.c (syms_of_syntax): Don't staticpro it here.
  14862.     (Fset_syntax_table): Set the flag in local_var_flags.
  14863.  
  14864.     * buffer.h (struct text): Represent the buffer dimensions
  14865.     with new slots, memory, begv, pt, gpt, zv, z and gap_size.
  14866.     (BEGV, etc.): Use new slots.
  14867.     (CharAt): Likewise.
  14868.     (BufferSafeCeiling, BufferSafeFloor): Use new slots; fix old bugs.
  14869.     (bf_p1, bf_s1, etc.): Old macros deleted.
  14870.  
  14871.     * buffer.c (Fget_buffer_create): Set up memory and new slots.
  14872.     (Fkill_buffer): Likewise.
  14873.  
  14874.     * insdel.c (move_gap, gap_left, gap_right, make_gap): Update new slots.
  14875.     (del_range, InsCStr): Likewise.
  14876.     * fileio.c (Finsert_file_contents): Likewise.
  14877.     * window.c (temp_output_buffer_show): Likewise.
  14878.     * xdisp.c (decode_mode_spec, try_window_id): Likewise.
  14879.  
  14880.     * insdel.c (make_gap): Complete rewrite.  Arg is amount of new gap
  14881.     to create.  All calls changed.
  14882.     (gap_left): New argument NEWGAP.
  14883.  
  14884.     * buffer.c (Fset_buffer): Check for deleted buffer.
  14885.     (SetBfp): Don't check.
  14886.     (SetBfp, Frename_buffer): Local cleanups.
  14887.     * print.c (PRINTPREPARE): Use Fset_buffer.
  14888.  
  14889.     * buffer.c (SetBfp): Don't bother with selected window or its point.
  14890.     * window.c (Fselect_window): Always set pointm of old window. 
  14891.  
  14892.     * editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED.
  14893.     * indent.c, keyboard.c: Ditto.
  14894.  
  14895.     * search.c (skip_chars): Eliminate PointLeft and PointRight.
  14896.     * cmds.c (SelfInsert): Likewise.
  14897.  
  14898. Wed May 16 20:07:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14899.  
  14900.     * xdisp.c (try_window):  No return value.
  14901.     Fix calls to try_window.
  14902.     * Global variable RedoModes is now redraw_mode_line.
  14903.  
  14904. Sun May 13 19:28:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14905.  
  14906.     * keymap.c (Fdefine_key, Flookup_key): Local cleanups.
  14907.  
  14908.     * sysdep.c (sys_suspend): Use save_signal_handlers and 
  14909.     restore_signal_handlers to save and restore signal state.
  14910.  
  14911.     * indent.c (Findent_to): Merge guts of indentation into here.
  14912.     (position_indentation): Scan with a pointer, for speed.
  14913.  
  14914.     * casefiddle.c (operate_on_word): Just return the other end.
  14915.     (Fupcase_word, Fdowncase_word, Fcapitalize_word):
  14916.     Pass that value to casify_region.
  14917.  
  14918.     * editfns.c (init_editfns): Store system and user names as
  14919.     strings to avoid arbitrary limits.
  14920.  
  14921.     * keymap.c (describe_vector, describe_alist): Make elt_prefix
  14922.     and elt_describer responsible for indentation and newlines.
  14923.     Local cleanups.
  14924.     (describe_command): Do indentation and newline.
  14925.     (describe_map): Add space to end of prefix.
  14926.     * syntax.c (describe_syntax): Do indentation and newline.
  14927.  
  14928. Sat May 12 18:09:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14929.  
  14930.     * process.c (create_process) [not USG]: Put subproc in pgrp 0.
  14931.  
  14932. Thu May 10 19:39:08 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14933.  
  14934.     * dispextern.h: new struct screen_glyfs replaces struct
  14935.     display_line.
  14936.     * screen.c: new screen elements current_glyfs, desired_glyfs, and
  14937.     temp_glyfs.
  14938.     * dispnew.c: (make_screen_glyfs, free_screen_glyfs,
  14939.     remake_screen_glyfs):  New functions.
  14940.     (make_display_lines, new_display_line, return_display_line):
  14941.     Functions deleted.
  14942.     (change_screen_size, init_display): Use the new functions.
  14943.     (cancel_line, clear_screen_records, get_display_line):
  14944.     Rewritten for new data structures.  get_display_line no longer
  14945.     returns anything.
  14946.     (preserve_other_columns, preserve_my_columns): Likewise.
  14947.     (cancel_my_columns, direct_output*): Likewise.
  14948.     (update_screen, update_line, quit_error_check, scrolling): Likewise.
  14949.     (scroll_screen_lines): Likewise.
  14950.     (rotate_vector, safe_bcopy): New subroutines.
  14951.     (line_hash_code, line_draw_cost): Cleaned up.
  14952.     Args are different, and hash computation too.
  14953.     (update_screen): Rearrange buffer-emptying code.
  14954.     * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new
  14955.     structures. 
  14956.     (display_text_line, display_mode_line): Likewise.
  14957.     (display_mode_element, display_string): Likewise.
  14958.     (decode_mode_spec): Local cleanups.
  14959.     * scroll.c (do_scrolling): Rewritten for new data structures.
  14960.     * xterm.c (XTflash): Use this new structure.
  14961.  
  14962.     * editfns.c (in_accessible_range): New function.
  14963.     (Fgoto_char, save_restriction_restore): Use it.
  14964.     (save_excursion_save, Fcurrent_time_string): Local cleanups.
  14965.  
  14966.     * process.c (Fprocess_kill_without_query): New arg; new return value.
  14967.     (count_active_processes): Function deleted.
  14968.  
  14969.     * fileio.c (Finsert_file, Fwrite_region): Local cleanups.
  14970.  
  14971.     * fns.c (Fsubstring): Local cleanup.
  14972.  
  14973.     * keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions.
  14974.     (cancel_echoing): Likewise.
  14975.     (immediate_echo, echoptr): New variables.
  14976.     (command_loop_1, request_echo, get_char, read_key_sequence): 
  14977.     (set_waiting_for_input, interrupt_signal): Related changes.
  14978.     (get_char): No more declaration of request_echo. Local cleanups.
  14979.  
  14980.     (this_command_key...): New variables.
  14981.     (Fexecute_extended_command, Fthis_command_keys): Related changes.
  14982.     (init_keyboard, get_char): Likewise.
  14983.  
  14984.     * macros.c (Fstart_kbd_macro): Local cleanup.
  14985.  
  14986.     * minibuf.c (read_minibuf): No more delcaration of
  14987.     Frestore_screen_configuration.
  14988.  
  14989.     * search.c (Fregexp_quote): Simplified.
  14990.  
  14991. Tue May  8 17:11:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14992.  
  14993.     * process.c (Fopen_network_stream):  Also handle numeric inet
  14994.     addresses.
  14995.  
  14996. Sun May  6 22:46:36 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14997.  
  14998.     * alloca.c: #ifdef __STDC__ rather than X3J11/
  14999.  
  15000. Thu May  3 17:07:12 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15001.  
  15002.     * fileio.c (Fmake_symbolic_link): Delete old file if permitted.
  15003.  
  15004. Wed May  2 19:07:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15005.  
  15006.     * data.c (Fstring_to_int): Delete disabled feature
  15007.     of accepting `yes' and `no'.
  15008.  
  15009.     * xdisp.c (redisplay, redisplay_preserving_echo_area):
  15010.     Two functions replace DoDsp.  All callers changed.
  15011.     (redisplay, redisplay_window): Eliminate `inhibit_hairy_id'.
  15012.     (redisplay_window): No return value.  Local cleanups.
  15013.  
  15014.     * alloc.c (Fmake_marker): Delete `modified' field.
  15015.     * insdel.c (adjust_markers): Likewise.
  15016.  
  15017.     * abbrev.c (Fdefine_mode_abbrev): Clean up error message.
  15018.  
  15019. Tue May  1 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15020.  
  15021.     * xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified.
  15022.  
  15023.     * xterm.c (x_display_cursor): Don't check s->phys_x when drawing
  15024.     cursor.
  15025.  
  15026.     * undo.c:  New version.
  15027.     * undo.h:  No longer exists.
  15028.     * alloc.c (Fgarbage_collect): Call truncate_undo_list.
  15029.     (syms_of_alloc): Define vars undo-threshold and undo-high-threshold.
  15030.     * buffer.c (Fget_buffer_create): Set undo_list to t or nil.
  15031.     (Fbuffer_disable_undo, Fbuffer_enable_undo): Likewise.
  15032.     (Fkill_buffer): Likewise.
  15033.     (init_buffer_once): Set up local variable buffer-undo-list.
  15034.     (syms_of_buffer): Likewise.
  15035.     * buffer.h: New element undo_list in struct buffer.
  15036.     * fileio.c (Finsert_file_contents): Store nil in undo_list.
  15037.  
  15038.     * buffer.c:  Variable bf_text deleted.
  15039.     (Fkill_buffer, SetBfp): Delete code that worked with it.
  15040.     (SetBfx):  Now a macro in buffer.h
  15041.     * editfns.c (Fwiden, Fnarrow_to_region): Related changes.
  15042.     (save_restriction_save, save_restriction_restore): Likewise.
  15043.     (Finsert_buffer_substring): Likewise.
  15044.     * fileio.c (Fdo_auto_save): Likewise.
  15045.     * insdel.c (make_gap): Likewise.
  15046.     * lread.c (readchar): Likewise.
  15047.     * marker.c (Fmarker_position, marker_position): Likewise.
  15048.     (Fset_marker): Likewise.
  15049.     * xdisp.c (DoDsp): Likewise.
  15050.  
  15051. Mon Apr 30 16:37:19 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15052.  
  15053.         * buffer.h:  New macro R_ALLOC_SET_BUFFER for declaring all the
  15054.     text pointers of a buffer to the relocating allocator.
  15055.     * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro.
  15056.     * editfns.c (Finsert_buffer_substring):  ditto.
  15057.     * fileio.c (Fdo_auto_save): ditto.
  15058.     * insdel.c (make_gap): ditto.
  15059.     * xfns.c (adjust_scrollbars): Don't set bf_cur->text.
  15060.  
  15061. Thu Apr 26 15:23:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15062.  
  15063.     * minibuf.c: Declare active_screen struct screen *, not
  15064.     Lisp_Screen *.
  15065.  
  15066. Thu Apr 19 19:14:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15067.  
  15068.     * xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen.
  15069.  
  15070. Thu Apr 19 13:07:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15071.  
  15072.     * fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand.
  15073.  
  15074.     * buffer.c (Frename_buffer): Allow renaming to same name it has.
  15075.  
  15076. Thu Apr 19 02:38:13 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15077.  
  15078.     * xfns.c (Fx_open_connection):  Attach xrdb to x_current_display.
  15079.  
  15080. Tue Apr 17 22:40:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15081.  
  15082.     * xterm.c (dumpborder):  Now only used for X10.
  15083.     (highlight, unhighlight):  New functions for X11.
  15084.  
  15085. Tue Apr 17 14:55:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15086.  
  15087.     * cm.c (Wcm_init): Return -2 if screen size not specified.
  15088.     * term.c (term_init): Special error message for that case.
  15089.  
  15090. Mon Apr 16 13:14:17 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15091.  
  15092.     * s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it.
  15093.  
  15094. Sun Apr 15 03:14:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15095.  
  15096.     * xfns.c (Fx_get_resource):  Concatenate invocation_name before
  15097.     the resource tag.
  15098.     (Fx_create_screen):  Use the latest resource id's.
  15099.  
  15100. Fri Apr 13 14:22:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15101.  
  15102.     * xfns.c (Fx_get_resource):  New subr.
  15103.     (Fx_open_connection):  Call x_load_resources.  New parameter
  15104.     xrm_string.
  15105.     * xrdb.c:  New file for doing resource manager stuff.
  15106.  
  15107.     * xscrollbar.h:  New file for scrollbar bitmaps.
  15108.  
  15109.     * xselect.h:  New file for the X selection stuff.
  15110.  
  15111.     * ymakefile: Take note of these new files.
  15112.  
  15113. Tue Apr 10 15:17:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15114.  
  15115.     * xterm.c (x_term_init):  Use MAXPATHLEN.
  15116.  
  15117. Mon Apr  9 18:42:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15118.  
  15119.     * buffer.c (list_buffers_1): Get filename from list-buffers-directory.
  15120.  
  15121. Fri Apr  6 21:10:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15122.  
  15123.     * screen.c (coordinates_in_window):  Return -1 if in modeline of
  15124.     window.
  15125.     (Fcoordinates_in_window_p):  Return Qt if in modeline of window.
  15126.     (Flocate_window_from_coordinates):  Use next_screen_window if
  15127.     MULTI_WINDOW is defined.
  15128.  
  15129. Thu Apr  5 16:49:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15130.  
  15131.     * xterm.c (construct_mouse_event):  Deal with the motion events
  15132.     first.  Only grab the mouse when in the scrollbar.
  15133.  
  15134. Wed Apr  4 16:51:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15135.  
  15136.     * screen.c (coordinates_in_window): Include mode line as part of
  15137.     window.
  15138.  
  15139.     * xterm.c (XTread_socket):  Initialize nbytes to 0.
  15140.     (x_display_cursor):  Don't draw if screen not selected.
  15141.  
  15142.     * xdisp.c (DoDsp):  Additional checks for screen being visible.
  15143.  
  15144. Tue Apr  3 19:43:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15145.  
  15146.     * editfns.c (Fmessage):  If there is a global minbuffer screen,
  15147.     raise it before displaying the message.
  15148.  
  15149.     * window.c (window_loop):  Parameter SCREENS now affects which
  15150.     screen is scanned for windows.  All subrs calling window_loop must
  15151.     pass a Lisp_Object here now.
  15152.  
  15153. Sun Apr  1 19:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15154.  
  15155.     * window.c (window_loop):  Additional parameter mini to control
  15156.     minibuffer selection or not.
  15157.     (Fget_lru_window):
  15158.     (Fget_largest_window):
  15159.     (Fget_buffer_window):
  15160.     (Fdelete_other_windows):
  15161.     (Fdelete_windows_on):
  15162.     (Freplace_buffer_in_windows):  Use that parameter.
  15163.  
  15164. Thu Mar 29 18:58:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15165.  
  15166.         * screen.c (Fselect_screen):  Raise the selected screen.
  15167.  
  15168.     * window.c (Fget_buffer_window):
  15169.     (Fget_largest_window):
  15170.     (Fget_lru_window):  New parameter all_screens.
  15171.     (Fdisplay_buffer):  Use the new param in Fget_lru_window,
  15172.     Fget_buffer_window, and    Fget_largest_window.
  15173.     (Fscroll_other_window):  Use new param in Fget_buffer_window.
  15174.     * buffer.c (Fother_buffer): ditto.
  15175.  
  15176.     * xterm.c (x_display_cursor):  Always draw the cursor if ON is
  15177.     true.  Don't check if the screen S is selected or equal to
  15178.     mouse-screen.
  15179.  
  15180.     * xfns.c (Fx_track_pointer):  Don't turn off cursor, just call
  15181.     x_display_cursor.
  15182.  
  15183. Wed Mar 28 10:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15184.  
  15185.         * data.c (Fmake_local_variable):  Give the variable value nil if
  15186.     unbound.
  15187.  
  15188.     * window.c (Fnext_window, Fprevious_window):  For MULTI_SCREEN,
  15189.     check if Vglobal_minibuffer_screen is non-nil and maybe call
  15190.     next_screen.
  15191.  
  15192.     * screen.c (Fscreen_selected_window):
  15193.     (Fscreen_root_window):  If screen is nil, use selected-screen.
  15194.  
  15195. Tue Mar 27 15:43:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15196.  
  15197.     * xterm.c (XTread_socket):  SET_SCREEN_GARBAGED which returning
  15198.     symbol which causes DoDsp to be invoked.
  15199.     * keyboard.c (read_key_sequence):  Don't SET_SCREEN_GARBAGED here.
  15200.  
  15201.     * screen.h:  New macro SET_SCREEN_GARBAGED.
  15202.  
  15203.     * xfns.c:
  15204.     * window.c:
  15205.     * sysdep.c:
  15206.     * keyboard.c:
  15207.     * dispnew.c:  Use the new macro.
  15208.  
  15209. Sun Mar 25 17:04:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15210.  
  15211.     * xfns.c (Fx_own_selection):  Only take one argument, string.
  15212.  
  15213. Sat Mar 24 14:42:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15214.  
  15215.     * xfns.c (select_visual):  Catch bullshit machines whose hardware
  15216.     doesn't support the X server pixel depth by looking at colormap_size.
  15217.     (x_decode_color):  Use x_screen_planes to check for color.
  15218.  
  15219. Fri Mar 23 13:28:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15220.  
  15221.     * xterm.c (x_display_cursor):  Try using vertical bar cursor.
  15222.     (clear_cursor):  Call x_display_cursor for X11.
  15223.  
  15224.     * xfns.c: Zotzed Vx_pointer_mask.
  15225.     (Fx_track_pointer):  Call x_display_cursor if we just
  15226.     wasted the cursor.  Break out of loop if no display line.
  15227.     Use mode line cursor if we're there.
  15228.     (x_y_pos):  New function.
  15229.     (x_set_font):  Dont' set x_font_{width,height}, they are gone.
  15230.  
  15231. Thu Mar 22 18:42:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15232.  
  15233.     * xfns.c (Fx_track_pointer):  Check that s == selected_screen each
  15234.     time through loop.  If event is nil, read mouse position.
  15235.  
  15236.     * keyboard.c (get_char):  DoDsp only if selected_screen visible.
  15237.  
  15238.     * xterm.c (XTread_socket):  Mark screen as visible only on expose
  15239.     event.
  15240.  
  15241.     * emacs.c (main):  Check here for "-d" option and set display_arg.
  15242.     * dispnew.c (init_display):  Set Vwindow_system, etc. if display_arg.
  15243.  
  15244. Wed Mar 21 10:50:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15245.  
  15246.     * keyboard.c (read_key_sequence):  Don't DoDsp if the screen was
  15247.     just unmapped.
  15248.     (command_loop_1):  Call the mouse motion handler before calling
  15249.     read_key_sequence.
  15250.     (interrupt_signal):  Fixed typo checking screen type.
  15251.  
  15252.     * xfns.c (Fx_track_mouse):  Don't crash because of null display
  15253.     line.  Don't set obj til call to get_char.
  15254.  
  15255.     * xterm.c (x_term_init):  Disable SIGWINCH here.
  15256.  
  15257.     * fns.c (Fmember):  New subr.
  15258.  
  15259.     * dispnew.c (init_display):  Don't check env variable DISPLAY to
  15260.     set Vwindow_system.  Now done in startup.el.
  15261.  
  15262.     * emacs.c:  Removed variables xargc, xargv.
  15263.  
  15264. Tue Mar 20 15:48:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15265.  
  15266.     * xfns.c (Fx_track_pointer):  Go faster.
  15267.  
  15268.     * screen.h:  New macro SCREENP.
  15269.  
  15270.     * window.c: (Fminibuffer_window):  Rewritten.
  15271.  
  15272. Mon Mar 19 20:27:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15273.  
  15274.     * sysdep.c (perror): Control with HAVE_PERROR as well as HPUX.
  15275.     * s-hpux.h (HAVE_PERROR): Define it.
  15276.  
  15277. Mon Mar 19 12:31:55 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15278.  
  15279.     * keyboard.c (command_loop_1):  Restructured handling of X event
  15280.     things.
  15281.     (read_key_sequence):  Handle new `unmapped-screen' symbol with new
  15282.     Vunmap_screen_hook.
  15283.  
  15284.     * xterm.c (XTread_socket):  Return unmapped-screen symbol if the
  15285.     window for UnmapNotify events.
  15286.  
  15287.     * lread.c  (Feval_region):  GCPRO opoint.
  15288.  
  15289. Fri Mar 16 14:28:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15290.  
  15291.     * keyboard.c (command_loop_1):  Call mouse-motion handler with
  15292.     argument.  Also, don't call undo-boundary.
  15293.  
  15294.     * process.c (create_process):  Set the process group for BSD at
  15295.     the same time as for USG.
  15296.  
  15297. Wed Mar 14 15:40:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15298.  
  15299.     * xterm.c (x_new_selected_screen):  Set x_input_screen here.
  15300.  
  15301. Sun Mar 11 15:48:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15302.  
  15303.     * xterm.c:  Vx_mouse_grabbed now Vmouse_grabbed.
  15304.     (XTread_socket):  Generate exited-window symbols on LeaveNotify
  15305.     even if screen is focused.
  15306.  
  15307.     * xfns.c:  Vx_mouse_grabbed now Vmouse_grabbed.
  15308.     (outline_region):  Now static.
  15309.     (Fx_track_pointer):  Check x_mouse_screen == s in loop.
  15310.  
  15311. Sat Mar 10 17:19:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15312.  
  15313.     * xterm.c (encode_mouse_button): Correctly get the button from
  15314.     Motion events.
  15315.  
  15316.     * xfns.c (x11_encode_mouse_button):  Nuked.
  15317.     (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd.
  15318.  
  15319.     * keyboard.c (get_char):  Re-set obj if we've keyboard-translated
  15320.     c.
  15321.  
  15322. Thu Mar  8 11:47:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15323.  
  15324.     * xterm.c  x_focus_screen no longer static.
  15325.     (x_error_handler):  Use XDefaultIOError.
  15326.  
  15327.     * screen.c (Ffocus_screen):  New subr, removed Fscreen_has_focus.
  15328.     (Fselect_screen):  New, optional parameter no_enter.
  15329.     (Frestore_screen_configuration):
  15330.     (Fdelete_screen):  Pass second parm Qnil to Fselect_screen.
  15331.  
  15332.     * window.c (Fdisplay_buffer, Fset_window_configuration):  Pass
  15333.     second parm Qnil to Fselect_screen.
  15334.  
  15335. Wed Mar  7 15:45:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15336.  
  15337.     * screen.c (Fscreen_has_focus):  New subr.
  15338.     (Fselect_screen):  Use x_focus_on_screen to physically select the
  15339.     screen.
  15340.  
  15341. Tue Mar  6 11:37:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15342.  
  15343.     * xfns.c (x_set_mouse_position):  Moved to xterm.c.
  15344.  
  15345.     * fileio.c (Fremove_directory):  New subr.
  15346.  
  15347.     * screen.c (Frelease_focused_screen):  Just call x_unfocus_screen.
  15348.  
  15349.     * xterm.c (XTread_socket):  On FocusOut, if s isn't mouse screen,
  15350.     return exited-window.  On LeaveNotify, simplify if expression for
  15351.     dumpborder.  Reworked FocusIn/FocusOut events.
  15352.     (x_unfocus_screen):  Check that screen is x_focus_screen.
  15353.     (x_set_mouse_position):  Moved from xfns.c.  Use new macro
  15354.     XWarpPointer.
  15355.     * xterm.h:  New macro XWarpPointer.
  15356.  
  15357.     * buffer.c:  Replaced Fbuffer_flush_undo with
  15358.     Fbuffer_disable_undo.
  15359.     * process.c:  Ditto.
  15360.  
  15361. Mon Mar  5 11:40:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15362.  
  15363.     * xterm.c (XTupdate_end):  Use parameter s rather than
  15364.     updating_screen.
  15365.     (XTread_socket):  On EnterNotify, don't check s != focus_screen
  15366.     before selecting.  On Focus In/Out don't set/reset mouse_screen.
  15367.  
  15368. Sun Mar  4 12:08:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15369.  
  15370.     * eval.c  If using X windows, include xterm.h.
  15371.     (error):  TOTALLY_UNBLOCK_INPUT if using X.
  15372.  
  15373.     * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT:  No signal stuff, just inc
  15374.     and decrement x_input_blocked.
  15375.  
  15376.     * xfns.c (adjust_scrollbars):  Don't BLOCK_INPUT.
  15377.     (x_set_font):  Check result of x_new_font.  Call error if nonzero.
  15378.     (x_set_icon_type): Check result of x_*_icon, maybe call error.
  15379.  
  15380.     * screen.c (Fdeiconify_screen): Use x_make_screen_visible rather
  15381.     than x_deiconify_screen.  Return screen.
  15382.     (Fmake_screen_visible):  Don't raise it here.  Return screen.
  15383.  
  15384.     * xterm.c (XTwrite_glyfs):  Don't show cursor if screen is
  15385.     global-minibuffer-screen.
  15386.     (x_new_selected_screen): Do dumpborder and check auto-raise here,
  15387.     rather than XEvent switch.
  15388.     (x_deiconify_screen): No longer exists.
  15389.     (x_do_pending_expose, x_clear_cursor):
  15390.     (x_invert_screen, scraplines, stufflines, x_bitmap_icon):
  15391.     (x_text_icon,  x_new_font): Don't BLOCK_INPUT.
  15392.     (XTins_del_lines):  BLOCK_INPUT here.
  15393.     (XTupdate_end):  Don't turn on cursor if minibuffer-screen.
  15394.     (XTread_socket): On MotionNotify, just that screen is selected before
  15395.     processing.
  15396.     (XTtopos):  If updating_screen, just set x and y, don't flush.
  15397.     (x_bitmap_icon):
  15398.     (x_text_icon):
  15399.     (x_new_font):  Return 1 if failed, don't call error.
  15400.     (x_make_screen_visible):  Raise the screen as well.
  15401.  
  15402. Fri Mar  2 16:03:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15403.  
  15404.     * screen.c (Frelease_focused_screen):  Just check that screen is
  15405.     selected.
  15406.  
  15407. Wed Feb 28 18:27:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15408.  
  15409.     * screen.c (Fselect_screen_focused, Frelease_focused_screen):  New
  15410.     subrs.
  15411.     * xterm.c (x_focus_on_screen, x_unfocus_screen):  New procedures
  15412.     to implement focusing.
  15413.  
  15414. Wed Feb 28 12:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15415.  
  15416.     * casefiddle.c: Doc fix.
  15417.  
  15418. Wed Feb 28 11:39:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15419.  
  15420.     * xterm.h:  Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock
  15421.     and sigsetmask if available.
  15422.     * xterm.c:  Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD.
  15423.  
  15424. Tue Feb 27 16:59:57 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15425.  
  15426.     * minibuf.c (Fread_from_minibuffer): Initialize pos to 0.
  15427.  
  15428. Sun Feb 25 00:04:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15429.  
  15430.     * keyboard.c (read_key_sequence): Handle mapped-screen event
  15431.     symbol by calling new hook Vmap_screen_hook.
  15432.  
  15433.     * xterm.c (x_make_screen_invisible):  Use the new Xlib function
  15434.     XWidthdrawWindow.
  15435.     (x_iconify_screen):  Use the new Xlib function XIconifyWindow.
  15436.     (XTread_socket): Return mapped-screen symbol to signal
  15437.     mapped-screen events.
  15438.  
  15439. Fri Feb 23 15:10:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15440.  
  15441.     * keyboard.c (command_loop_1):  Check the character for width 1
  15442.     before doing direct_output_forward, as well as the cursor position
  15443.     on the screen.
  15444.  
  15445.     * xdisp.c (DoDsp):  Use redisplay_windows rather than
  15446.     redisplay_all_windows, which was removed.
  15447.  
  15448. Thu Feb 22 16:33:14 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15449.  
  15450.     * unexencap.c: New file, waiting for papers.
  15451.  
  15452. Thu Feb 22 11:40:06 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15453.  
  15454.     * keyboard.c: Removed much debugging stuff.
  15455.     * xterm.c: Removed much debugging stuff.
  15456.     (x_error_handler): For X11, if caught BadAlloc error while
  15457.     converting selection (note new variable x_converting_selection),
  15458.     just set new variable x_selection_alloc_error.
  15459.  
  15460.     * xfns.c:  Massive changes for crufty selection processing details.
  15461.     New X atoms:  Xatom_clipboard, Xatom_delete, Xatom_insert_selection,
  15462.     Xatom_insert_property, Xatom_pair.
  15463.  
  15464. Wed Feb 21 15:04:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15465.  
  15466.     * keyboard.c (kbd_buffer_store_char): Check NULL objects.
  15467.  
  15468.     * xterm.c (XTread_socket): Correctly advance bufp for all KeyPress
  15469.     events.
  15470.  
  15471. Tue Feb 20 15:04:54 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15472.  
  15473.     * keyboard.c (kbd_buffer_get_char):  Use KBD_BUFFER_SIZE rather
  15474.     than sizeof kbd_buffer.
  15475.     (read_key_sequence): Upon redraw-display symbol, set
  15476.     screen_garbaged.
  15477.  
  15478.     * xterm.c (XTread_socket): On EnterNotify events, make sure to
  15479.     return mouse event for both scrollbars and windows.
  15480.  
  15481. Mon Feb 19 18:34:03 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15482.  
  15483.     * casefiddle.c (casify_region): Move the new statement.
  15484.  
  15485. Mon Feb 19 14:42:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15486.  
  15487.     * casefiddle.c (casify_region): Return if beginning and end same.
  15488.  
  15489. Sun Feb 18 15:04:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15490.  
  15491.     * keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather
  15492.     than sizeof kbd_buffer.
  15493.  
  15494.     * fns.c (Fy_or_n_p): Only accept ints from get_char.
  15495.  
  15496. Sun Feb 18 12:48:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15497.  
  15498.     * minibuf.c (Fread_from_minibuffer): New arg POSITION.
  15499.  
  15500.     * unexsunos4.c: New file.  Waiting for papers.
  15501.     * s-sunos4shr.h: New file.
  15502.  
  15503.     * emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap.
  15504.  
  15505.     * ymakefile (LD): Let config file override with LD_CMD.
  15506.  
  15507. Wed Feb 14 14:57:50 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15508.  
  15509.     * keyboard.c (read_avail_input): pass read_socket_hook
  15510.     KBD_BUFFER_SIZE rather than doing sizeof (buf).
  15511.  
  15512.     * xterm.c (XTread_socket): Set event.type = MotionNotify when
  15513.     entering screen or scrollbar to fake motion event.
  15514.  
  15515. Tue Feb 13 13:13:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15516.  
  15517.     * window.c (next_screen, prev_screen): moved to screen.c
  15518.     (Fnext_window): If mini non-nil, count the separate minibuffer
  15519.     screen.
  15520.     * screen.c (Fnext_screen): new subr.
  15521.  
  15522. Mon Feb 12 21:58:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15523.  
  15524.     * xdisp.c (display_text_line, try_window, try_window_id, DoDsp):
  15525.     Don't display overlay arrow on more than one line in a window.
  15526.  
  15527. Mon Feb 12 11:19:48 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15528.  
  15529.     * doprnt.c (doprnt): Expand size of tembuf to 512.
  15530.  
  15531. Sat Feb 10 19:26:25 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15532.  
  15533.     * minibuf.c (Fread_no_blanks_input): Make second arg optional.
  15534.  
  15535. Fri Feb  9 13:00:56 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15536.  
  15537.     * keyboard.c (get_char): Remember to set obj when executing macro.
  15538.     (read_key_sequence): Handle the exited-scrollbar symbol.
  15539.     Compare obj, not read_key_sequence_cmd.
  15540.  
  15541.     * xterm.c (x_make_screen_visible, x_deiconify_screen): Check
  15542.     window-manager variable.
  15543.     (x_make_screen_invisible, x_iconify_screen): Don't use new R4
  15544.     calls (they crash), do it ourselves.
  15545.     (XTread_socket): Return exited-scrollbar symbol when doing so.
  15546.  
  15547. Thu Feb  8 17:56:12 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15548.  
  15549.     * xterm.c (construct_mouse_event): Rewritten to do mouse-motion
  15550.     compression.  All mouse processing now done here.
  15551.     Also, just use nil and t for x-mouse-grabbed.  Record buttons
  15552.     pressed in new variable x_mouse_grabbed.  XGrabPointer on button
  15553.     depression. 
  15554.     * xfns.c (Fx_horizontal_line): use x_mouse_grabbed.
  15555.  
  15556. Wed Feb  7 15:42:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15557.  
  15558.     * xdisp.c (DoDsp): If only updating selected screen, but there is
  15559.     a minibuffer screen, update it as well.
  15560.  
  15561. Tue Feb  6 12:35:12 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15562.  
  15563.     * xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs.
  15564.     * xterm.h New components pixel_width, pixel_height, to x_display.
  15565.     * xterm.c (XTread_socket): On configure notify, set these components.
  15566.  
  15567.     * window.c (Fset_window_configuration): Select the screen of the
  15568.     root window if it's not the selected_screen.
  15569.     * minibuf.c (read_minibuf): Remove all the screen selection stuff,
  15570.     now that this is integrated in Fset_window_configuration.
  15571.  
  15572. Mon Feb  5 10:18:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15573.  
  15574.     * screen.h: Declare Vglobal_minibuffer_screen.
  15575.     * xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen.
  15576.  
  15577. Sat Feb  3 13:00:42 1990  Joseph Arceneaux  (jla at geech)
  15578.  
  15579.     * window.c (Fset_window_configuration): Make sure to set
  15580.     window->next to nil for a minibuffer-only screen.
  15581.  
  15582.     * screen.c (make_minibuffer_screen): Set mini_window->next nil.
  15583.  
  15584. Thu Feb  1 19:00:38 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15585.  
  15586.     * screen.c (make_screen): Set wants_modeline elt to 1.
  15587.  
  15588.     * window.c (Fset_window_configuration): Use screen->root_window
  15589.     as arg to delete_all_subwindows rather than minibuf_window->prev.
  15590.  
  15591.     * minibuf.c (read_minibuf): Don't unwind with
  15592.     Frestore_screen_configuration.  Save selected_screen if different
  15593.     than minibuf screen, and re-select it after reading minibuf.
  15594.     * screen.c: #if 0 Fscreen_configuration,
  15595.     Frestore_screen_configuration.
  15596.  
  15597. Thu Feb  1 02:11:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15598.  
  15599.     * m-ibmps2-aix.h: Undef NEED_SIOCTL.
  15600.     (SIGN_EXTEND_CHAR): Cast to `signed char'.
  15601.  
  15602. Sun Jan 28 15:15:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15603.  
  15604.     * xfns.c (Fx_track_pointer): rewrote this to loop while there are
  15605.     mouse events.
  15606.  
  15607.     * xterm.c (XTread_socket): Return left-window-event symbol upon
  15608.     LeaveNotify.
  15609.     * keyboard.c (read_key_sequence): Handle this symbol.
  15610.  
  15611. Sat Jan 27 09:57:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15612.  
  15613.     * xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for
  15614.     cursor, as `XFillRectaogle's kill HP-BSD server.
  15615.  
  15616.     * xterm.h: Added nontext_cursor, modeline_cursor to x_display
  15617.     structure.
  15618.     * xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use
  15619.     nontext_cursor.
  15620.  
  15621. Thu Jan 25 13:09:27 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15622.  
  15623.     * xterm.h: Changed the face structure for X11 to handle GCs and
  15624.     pixmaps.
  15625.  
  15626.     * xterm.c (XTread_socket): Return a motion event when mouse enters
  15627.     scrollbar or window.
  15628.     (x_make_screen_invisible): Use the new X11R4 function XWithdrawWindow.
  15629.     (x_iconify_screen): Use the X11R4 function XIconfifyWindow.
  15630.     (dumpglyfs): Use the new face structure.
  15631.  
  15632.     * xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar):
  15633.     Accept EnterNotify events.  Use XMapSubwindows rather than mapping
  15634.     each one.
  15635.     (Fx_set_face_font): New subr for X11 to set face GC.
  15636.  
  15637. Thu Jan 25 00:58:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15638.  
  15639.     * dispnew.c (direct_output_for_insert): Give up if buf in 2 windows.
  15640.  
  15641.     * keyboard.c (command_loop_1):
  15642.     Dumb bugs disabled special fast display for character motion.
  15643.  
  15644.     * xdisp.c (DoDsp): For cursor motion within line,
  15645.     hpos result from compute_motion is relative to window.
  15646.  
  15647. Wed Jan 24 20:08:08 1990  Richard Stallman  (rms at albert.ai.mit.edu)
  15648.  
  15649.     * eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...).
  15650.  
  15651. Thu Jan 18 10:27:09 1990  Joseph Arceneaux  (jla at spiff)
  15652.  
  15653.     * undo.c (Fundo_more): Fixed typo.
  15654.  
  15655. Tue Jan 16 20:20:48 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15656.  
  15657.     * xdisp.c (display_text_line): When checking HPOS for continuation
  15658.     line, compensate for w->left.
  15659.  
  15660. Mon Jan 15 19:46:59 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15661.  
  15662.     * dispnew.c [no FIONREAD]: Undefine SIGIO.
  15663.  
  15664.     * buffer.c (SetBfp): Use XTYPE to test for no selected window yet.
  15665.  
  15666.     * editfns.c, dispnew.c, fileio.c, process.c, sysdep.c, xterm.c:
  15667.     Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h.
  15668.  
  15669.     * xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use
  15670.     SIGIO if no FIONREAD.
  15671.  
  15672. Mon Jan 15 18:08:16 1990  Joseph Arceneaux  (jla at spiff)
  15673.  
  15674.     * xfns.c (x_set_mouse_color): Set non-text pointer shape with new
  15675.     variable Vx_nontext_pointer_shape.
  15676.  
  15677.     * keyboard.c: More checks for evil bug which trashes kbd_*_ptr.
  15678.  
  15679.     * m/hp300bsd.h: Try using BSD load average stuff.
  15680.  
  15681. Thu Jan 11 15:52:11 1990  Joseph Arceneaux  (jla at spiff)
  15682.  
  15683.     * xfns.c (x_draw_pixmap): New routine.
  15684.  
  15685. Wed Jan 10 21:55:25 1990  Jim Kingdon  (kingdon at pogo)
  15686.  
  15687.     * m/hp300bsd.h: New file
  15688.  
  15689. Mon Jan  8 13:12:37 1990  Joseph Arceneaux  (jla at spiff)
  15690.  
  15691.     * xfns.c (Fx_window_id): New subr.
  15692.  
  15693.     * screen.c (make_screen): Set wants_modeline elt to mini_p.
  15694.     If mini_p 0, then set root_window->next to nil.
  15695.  
  15696. Mon Jan  8 10:56:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15697.  
  15698.     * editfns.c (Fchar_after): Set N after coercing marker.
  15699.  
  15700. Sat Jan  6 16:18:50 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15701.  
  15702.     * buffer.c (Fkill_all_local_variables): Force mode line update.
  15703.  
  15704. Fri Jan  5 16:50:35 1990  Joseph Arceneaux  (jla at spiff)
  15705.  
  15706.     * insdel.c: Declare Vfirst_change_function.
  15707.  
  15708.     * keyboard.c (read_key_sequence): Function keys are now lisp symbols.
  15709.     (kbd_buffer_store_char): Abort if store pointer past
  15710.     buffer.  Temproarry; This shouldn't be able to happen.
  15711.     (read_key_sequence):  #ifdef HAVE_X_WINDOWS code
  15712.     which handles complex objects.
  15713.     (command_loop_1): Check not termcap screen before 
  15714.     processing non-char input.
  15715.     (kbd_{store,fetch}_char): More debugging checks.
  15716.  
  15717.     * screen.c (make_screen): Set root_window height to 9 if mini_p.
  15718.     (make_minibuffer_screen): Set the mini window's next,
  15719.     prev, and screen elements.
  15720.  
  15721.     * xterm.c (x_func_key_to_sym): New function, uses new variable
  15722.     func_key_syms.
  15723.     (XTread_socket): Use this in KeyPress event for function keys.
  15724.     (XTflash): Draw solid rectangle in middle of screen.
  15725.     (x_set_offset): Set the size hints as well when doing
  15726.     this.
  15727.     (XTflash): Just dumpglyfs instead of redrawing the
  15728.     screen after flashing the rectangle.
  15729.  
  15730.     * lread.c: (syms_of_lread): defsubr Fread_event.
  15731.  
  15732. Thu Jan  4 18:42:08 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15733.  
  15734.     * buffer.h, buffer.c (Vfirst_change_function): New Lisp variable. 
  15735.     * insdel.c (signal_before_change): Call that function.
  15736.  
  15737.     * keyboard.c (cmd_error): Don't crash if TAIL is nil.
  15738.  
  15739. Sun Dec 31 17:17:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15740.  
  15741.     * minibuf.c: Doc fixes.
  15742.  
  15743. Thu Dec 28 18:12:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15744.  
  15745.     * process.c (create_process): Unhold SIGCHLD in the child.
  15746.  
  15747. Wed Dec 27 19:12:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15748.  
  15749.     * process.c (create_process): Treat HPUX like BSD for sigsetmask.
  15750.  
  15751. Mon Dec 25 00:10:57 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15752.  
  15753.     * fns.c (Fmapconcat): Gcpro SEP around mapcar1.
  15754.  
  15755. Sat Dec 23 13:45:19 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15756.  
  15757.     * dispnew.c (get_display_line): Don't touch X data if not using X.
  15758.  
  15759.     * syntax.c (Fscan_sexps): Fix fatal documentation typo.
  15760.  
  15761.     * lread.c: Include commands.h.
  15762.  
  15763.     * xterm.c (construct_mouse_event): Delete unreached return at end.
  15764.     (x_wm_set_size_hint): #if 0 some broken code.
  15765.  
  15766.     * cmds.c (SelfInsert): Set HAIRY if have before or after change hooks.
  15767.     * editfns.c (Fsubst_char_in_region, Ftranslate_region):
  15768.     Call signal_after_change for chars changed.
  15769.     * undo.c (Fundo_more): When undoing Uchange, do signal_after_change.
  15770.     * casefiddle.c (casify_region): Do modify_region before the change,
  15771.     signal_after_change afterward.
  15772.  
  15773.     * insdel.c (prepare_to_modify_buffer): Call signal_before_change.
  15774.     (del_range, InsCStr): Call signal_after_change.
  15775.     (signal_after_change, signal_before_change): New functions.
  15776.  
  15777. Wed Dec 20 06:50:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15778.  
  15779.     * dispnew.c (init_display) [VMS]: Downcase terminal type.
  15780.  
  15781. Sun Dec 17 19:31:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15782.  
  15783.     * sysdep.c: Use NEED_SIOCTL to control use of sioctl.h.
  15784.     * m/m-mips.h, m/m-iris4d.h: Define that.
  15785.  
  15786.     * m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define.
  15787.     (HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define.
  15788.     (sigsetmask): #undef this.
  15789.  
  15790. Fri Dec 15 13:13:36 1989  Joseph Arceoeaux  (jla at spiff)
  15791.  
  15792.     * lread.c (Fread_char): Catch error if read non-char.
  15793.     (Fread_event): New subr.  Return any input object.
  15794.  
  15795. Thu Dec 14 12:53:30 1989  Joseph Arceneaux  (jla at spiff)
  15796.  
  15797.     * xfns.c: New variable Vx_no_window_manager.
  15798.      (Fx_track_pointer):  If bufp < 0, abort.
  15799.  
  15800.     * xterm.c (XTread_socket):  When leaving window, set x_mouse_x and
  15801.     x_mouse_y to -1.
  15802.  
  15803. Wed Dec 13 10:48:36 1989  Joseph Arceneaux  (jla at spiff)
  15804.  
  15805.     * xterm.c (XTread_socket): On ConfigureNotify events, return
  15806.     "redraw-screen" symbol.
  15807.     (dumpborder): Only do border stuff if x-no-window-manager non nil.
  15808.     Also check if there is a tracking rectangle.
  15809.     (XTupdate_begin): If there is a mouse tracking rectangle, erase
  15810.     it.
  15811.     * keyboard.c (read_key_sequence): Return -2 for symbols.
  15812.     (command_loop_1): DoDsp when 'redraw-screen arrives as input.
  15813.     For mouse events, call Fexecute_mouse_event with
  15814.     read_key_sequence_cmd instead of Vmouse_event.
  15815.  
  15816. Fri Dec  8 08:34:22 1989  Joseph Arceneaux  (jla at spiff)
  15817.  
  15818.     * process.c (create_process):  For not USG, properly set the
  15819.     process group.
  15820.  
  15821. Thu Dec  7 15:02:44 1989  Joseph Arceneaux  (jla at spiff)
  15822.  
  15823.     * term.c (topos):  Under X Windows, abort if topos_hook not
  15824.     correct.  Temporary.
  15825.  
  15826.     * xfns.c (Fx_horizontal_line): New subr.
  15827.  
  15828. Tue Dec  5 11:35:21 1989  Joseph Arceneaux  (jla at spiff)
  15829.  
  15830.     * keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here
  15831.     for X11.
  15832.  
  15833.     * xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates
  15834.     which keys are depressed.
  15835.     (construct_mouse_event): Set Vmouse_window here.
  15836.  
  15837. Mon Dec  4 13:43:12 1989  Joseph Arceneaux  (jla at spiff)
  15838.  
  15839.     * screen.c (coordinates_in_window): New function.
  15840.     (Fcoordinates_in_window_p):  Rewritten to use above.
  15841.  
  15842.     * dispextern.h: New element bufp for display_line structure when
  15843.     using X windows.
  15844.     * xdisp.c (redisplay_window): Set this to the position in the
  15845.     buffer of the first char in this display line.
  15846.     * dispnew.c (get_display_line): Set this to -1 here.
  15847.  
  15848. Sun Dec  3 14:05:47 1989  Joseph Arceneaux  (jla at spiff)
  15849.  
  15850.     * alloc: Upped NSTATICS from 200 to 256.
  15851.  
  15852.     * xterm.c (XTread_socket):  Report MotionNotify events only if
  15853.     mouse has changed character position.  Call x_read_mouse_position.
  15854.     Set Vmouse_event here.
  15855.     * xfns.c (x_read_mouse_position): Set new global variables
  15856.     x_mouse_x and x_mouse_y.
  15857.  
  15858.     * keyboard.c: Vignore_mouse_events:  New variable.
  15859.  
  15860.     * syntax.c (Fscan_sexps): Doc change.
  15861.  
  15862.     * lread.c (Fread_char): Return only chars.  If new variable
  15863.     Vignore_mouse_events non nil, execute any mouse events which
  15864.     appear.
  15865.  
  15866. Fri Dec  1 09:28:23 1989  Joseph Arceneaux  (jla at spiff)
  15867.  
  15868.     * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'.
  15869.     (x_rectangle): Draw half-size if negative argument.
  15870.  
  15871.     * xterm.c (XTread_socket): abort if garbage collecting when doing
  15872.     mouse events.
  15873.  
  15874.     * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined.
  15875.  
  15876.     * emacs.c (main): If BSD, set pgrp to pid.
  15877.  
  15878. Thu Nov 30 10:02:54 1989  Joseph Arceneaux  (jla at spiff)
  15879.  
  15880.     * callint.c (Fcall_interactively): For case 'e', set varies[i] to
  15881.     avoid entering in the command history.
  15882.  
  15883.     * xterm.c: Removed the function x_indicate_pointer_char.
  15884.     (XTread_socket): When leaving window, erase mouse tracking box if
  15885.     it exists.
  15886.     * xfns.c (Fx_track_pointer): New function, does what
  15887.     x_indicate_pointer_char used to.
  15888.     (x_read_mouse_position): Subtract internal_border_width.
  15889.  
  15890.     * screen.c: No rubber-banding function for X11.
  15891.  
  15892.     * window.c (Fmove_to_window_line): Document string fix.
  15893.  
  15894. Wed Nov 29 17:17:04 1989  Joseph Arceneaux  (jla at spiff)
  15895.  
  15896.     * lread.c (Fread_char):  Return a Lisp_Object (directly from
  15897.     get_char).
  15898.  
  15899.     * keyboard.c:
  15900.     * xterm.c: Function keys now arrive as cons cells.
  15901.  
  15902. Mon Nov 27 13:21:39 1989  Joseph Arceneaux  (jla at spiff)
  15903.  
  15904.     * keyboard.c (read_key_sequence): Handle Lisp_Symbols on input
  15905.     (function keys).  Also, handle these and mouse events with
  15906.     prefixes (by ignoring the prefixes for now).
  15907.  
  15908.     * xfns.c New variable Vx_mouse_grabbed.
  15909.     * xterm.c (construct_mouse_event): Use it.
  15910.     (XTread_socket): Return Lisp_Symbol for function key.
  15911.  
  15912.     * buffer.c (reset_buffer_local_variables): Set function_key_map to
  15913.     Qnil.
  15914.  
  15915. Fri Nov 24 17:45:38 1989  Joseph Arceneaux  (jla at spiff)
  15916.  
  15917.     * buffer.h: Per-buffer function key maps.
  15918.  
  15919.     * keyboard.c (read_avail_input): Convert chars to Lisp_Objects in
  15920.     case of stdin.
  15921.  
  15922. Wed Nov 22 13:39:14 1989  Joseph Arceneaux  (jla at spiff)
  15923.  
  15924.     * keyboard.c (read_key_sequence): Check type of object returned
  15925.     from get_char.  Handle mouse events (set Vmouse_event) and
  15926.     function keys.
  15927.     (get_char_menu_prompt): Return a Lisp_Object.
  15928.     (Fexecute_mouse_event): No longer set Vmouse_event.
  15929.     Vmouse_window set here.
  15930.  
  15931.     * xterm.c (XTread_socket): KeyPress events now return
  15932.     Lisp_Objects, as do ButtonPress events.
  15933.     (construct_mouse_event): New function.
  15934.     (encode_mouse_button): New function.
  15935.  
  15936. Tue Nov 21 14:49:14 1989  Joseph Arceneaux  (jla at spiff)
  15937.  
  15938.     * keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char):
  15939.     Store and get Lisp_Objects.
  15940.     (get_char): Use those Lisp_Objects.
  15941.  
  15942.     * fileio.c (Fread_filename_internal): If exactly complete, but
  15943.     string was modified, return string.
  15944.  
  15945.     * minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for.
  15946.  
  15947. Sat Nov 18 23:07:32 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15948.  
  15949.     * s-386-ix.h: New file.
  15950.  
  15951. Fri Nov 17 12:11:11 1989  Joseph Arceneaux  (jla at spiff)
  15952.  
  15953.     * xterm.c (dump_rectangle): Flush the X queue.
  15954.  
  15955. Thu Nov 16 16:35:47 1989  Joseph Arceneaux  (jla at spiff)
  15956.  
  15957.     * xmenu.c (xmenu_show): Use ButtonReleaseMask instead of
  15958.     ButtonRelease.
  15959.  
  15960.     * fileio.c (Fmake_directory): New subr.
  15961.  
  15962. Thu Nov 16 00:53:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15963.  
  15964.     * config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these.
  15965.     (HAVE_X11): Renamed from X11 and defined by default.
  15966.     It shoukld have no effect when not using X.
  15967.  
  15968. Tue Nov 14 09:44:29 1989  Joseph Arceneaux  (jla at spiff)
  15969.  
  15970.     * xfns.c (Fx_get_selection, x_selection_arrival): use &event
  15971.     instead of event.
  15972.     (x_selection_arrival): For incremental selections, loop on
  15973.     XGetWindowProperty if one is not enough.
  15974.  
  15975. Mon Nov 13 12:07:16 1989  Joseph Arceneaux  (jla at spiff)
  15976.  
  15977.     * ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists.
  15978.  
  15979. Thu Nov  9 11:10:32 1989  Joseph Arceneaux  (jla at spiff)
  15980.  
  15981.     * m/m-sparc.h: If __GNUC__ use "-O", else "-O2"
  15982.  
  15983. Wed Nov  8 15:49:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15984.  
  15985.     * search.c (Fstore_match_data): A marker pointing nowhere, treat as 0.
  15986.  
  15987. Wed Nov  8 14:50:43 1989  Joseph Arceneaux  (jla at spiff)
  15988.  
  15989.     * search.c (Fmatch_data): fixed typo.
  15990.  
  15991.     * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc.
  15992.     * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in
  15993.     place of malloc, and set b->data.
  15994.     (Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on
  15995.     b->p1 + 1.
  15996.     * buffer.h: New element data in buffer_text structure.
  15997.     New define for it, bf_data.
  15998.  
  15999. Wed Nov  8 14:28:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16000.  
  16001.     * marker.c (Fset_marker): Don't force POS into visible range.
  16002.     * window.c (set_marker_restricted): New function does what
  16003.     Fset_marker did.  All calls in this file now use the new function.
  16004.  
  16005. Tue Nov  7 09:08:26 1989  Joseph Arceneaux  (jla at spiff)
  16006.  
  16007.     * buffer.h: Defines for allocating buffer variables.
  16008.  
  16009.     * ralloc.c: Completely rewritten.
  16010.  
  16011.     * alloc.c (xmalloc, xrealloc): Return 0 immediately for requests
  16012.     of 0 size.
  16013.  
  16014. Mon Nov  6 02:00:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16015.  
  16016.     * search.c (Flooking_at, Fstring_match, search_buffer):
  16017.     Record in search_regs_from_string whether matching against a string.
  16018.     (Fmatch_data): Save data as integers if from a string.
  16019.  
  16020.     * s-umips.h: Now include either s-usg5-2-2.h or s-bsd4-3.h
  16021.     and then override as needed.
  16022.     * m-mips.h: System dependence deleted.
  16023.     LD_SWITCH_MACHINE remains w/ options needed on all systems.
  16024.     * m-pmax.h: A little of that (LIBS_DEBUG) moved here.
  16025.     No need to undef LIBS_MACHINE.
  16026.  
  16027.     * fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook.
  16028.     * s-umips.h: Define it.
  16029.  
  16030.     * sysdep.c: Handle BROKEN_FIONREAD.
  16031.  
  16032. Fri Nov  3 10:52:16 1989  Joseph Arceneaux  (jla at spiff)
  16033.  
  16034.     * config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC.
  16035.  
  16036.     * s/s-umips.h: New file.
  16037.  
  16038. Fri Nov  3 02:17:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16039.  
  16040.     * process.c (Fopen_network_stream): Handle EINTR in connect.
  16041.     Describe errno in err msg if connect fails.
  16042.  
  16043. Thu Nov  2 15:35:44 1989  Joseph Arceneaux  (jla at spiff)
  16044.  
  16045.     * vm-limit.c: New file.
  16046.     * ralloc.c: New file.
  16047.     * ymakefile: Take vm-limit.o into account.
  16048.  
  16049. Thu Nov  2 12:27:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16050.  
  16051.     * alloc.c (staticvec): Make this a simple vector of pointers
  16052.     rather than an alias for a vector of chars.
  16053.  
  16054. Wed Nov  1 11:44:30 1989  Joseph Arceneaux  (jla at spiff)
  16055.  
  16056.     * window.c: Moved some functions (save_window_save,
  16057.     replace_window, unshow_buffer) around.
  16058.     * search.c: Moved function place.
  16059.     * lread.c: Moved function read_escape.
  16060.     * unexec.c: Declarations for make_hdr, copy_text_and_data,
  16061.     copy_sym.  Declare mark_x as static void.
  16062.     * dispextern.h: removed declaration of new_display_line.
  16063.  
  16064.     * emacs.c: Do malloc_init if GNU_MALLOC.
  16065.     * gmalloc.c: (malloc_init): New function.
  16066.  
  16067.     * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle,
  16068.     outline_region, Fx_countour_region, Fx_uncontour_region): New
  16069.     subroutines for drawing rectangles and things.
  16070.     (Fx_point_coordinates): New subr.
  16071.  
  16072. Tue Oct 31 11:43:36 1989  Joseph Arceneaux  (jla at spiff)
  16073.  
  16074.         * All .c and .h files: New copyright header.
  16075.  
  16076. Mon Oct 30 17:55:32 1989  Joseph Arceneaux  (jla at spiff)
  16077.  
  16078.     * gmalloc.c: New GNU malloc.
  16079.  
  16080.     * emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC.
  16081.  
  16082.     * ymakefile: Check if GNU_MALLOC defined.
  16083.  
  16084. Fri Oct 27 10:25:22 1989  Joseph Arceneaux  (jla at spiff)
  16085.  
  16086.     * xfns.c (Fx_pointer_char): New subr.
  16087.     * xterm.c (x_indicate_pointer): New procedure.
  16088.  
  16089.     * alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs.
  16090.  
  16091. Thu Oct 26 20:24:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16092.  
  16093.     * xterm.c (x_term_init):
  16094.     Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG.
  16095.     * keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]:
  16096.     No interrupt input if using a socket.
  16097.     * m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK.
  16098.  
  16099. Thu Oct 26 11:00:01 1989  Joseph Arceneaux  (jla at spiff)
  16100.  
  16101.     * xterm.c (x_handle_error_gracefully): Make sure to completely
  16102.     release input before returning, using:
  16103.     * xterm.h New macro TOTALLY_UNBLOCK_INPUT.
  16104.  
  16105.     * xmenu.c (xmenu_quit): No longer use this error_handler; use
  16106.     default one.
  16107.  
  16108. Wed Oct 25 10:17:05 1989  Joseph Arceneaux  (jla at spiff)
  16109.  
  16110.     * config.h-dist: Comment fix.
  16111.  
  16112. Tue Oct 24 10:25:42 1989  Joseph Arceneaux  (jla at spiff)
  16113.  
  16114.     * xfns.c (Fx_draw_lines, translate_vectors): New functions.
  16115.  
  16116. Sat Oct 21 02:31:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16117.  
  16118.     * search.c (search_buffer): Always find null string.
  16119.  
  16120.     * window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer
  16121.     unless window is the selected one.
  16122.  
  16123. Fri Oct 20 19:00:42 1989  Joseph Arceneaux  (jla at spiff)
  16124.  
  16125.     * xdisp.c (display_minibuf_message): Choose minibuf screen first
  16126.     of all.  Return if not visible.
  16127.  
  16128. Thu Oct 19 16:27:55 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16129.  
  16130.     * xterm.c (x_handle_error_gracefully): New procedure to handle
  16131.     non-fatal X errors.
  16132.     (x_error_handler): Use it.
  16133.     (acceptable_x_error_p): New macro.
  16134.  
  16135.     * xfns.c (Fx_own_selection): Use second parameter SCREEN.
  16136.  
  16137.     * xdisp.c: (message, message1): No longer displays messages
  16138.     when using X but not yet mapped. 
  16139.  
  16140. Wed Oct 18 17:55:37 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16141.  
  16142.     * m-pyramid.h (NO_ARG_ARRAY): Define if using GCC.
  16143.  
  16144. Tue Oct 17 03:08:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16145.  
  16146.     * vmsfns.c (process_command_input): Call clear_waiting_for_input.
  16147.  
  16148. Sat Oct 14 00:09:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16149.  
  16150.     * syntax.c (scan_words): If words_include_escapes not 0,
  16151.     treat Sescape and Scharquote like Sword.
  16152.     (syms_of_syntax): Define Lisp variable.
  16153.  
  16154.     * process.c (wait_reading_process_input): Get rid of kbd_count.
  16155.     Use detect_input_pending.
  16156.     * sysdep.c (select, read_input_waiting): Likewise.
  16157.     (read_input_waiting): Don't read directly into kbd_buffer;
  16158.     use kbd_buffer_store_char.
  16159.     * keyboard.c: Don't define kbd_count.
  16160.  
  16161.     * keyboard.c (read_key_sequence): Reject the prefix char generated
  16162.     for a Meta char, if it finds a non-prefix definition.
  16163.  
  16164. Fri Oct 13 20:05:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16165.  
  16166.     * process.c (wait_reading_process_input): READ_KBD==2 means
  16167.     wait until have mouse input.
  16168.     * xfns.c (Fx_get_mouse_event): Use that.
  16169.     * xterm.c (mouse_event_pending_p): New subroutine.
  16170.  
  16171. Fri Oct 13 19:23:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16172.  
  16173.     * xfns.c (x_selection_arrival):
  16174.     (x_send_incremental):
  16175.     (x_answer_selection_request): New procedures for incremental
  16176.     selection transfer.
  16177.  
  16178. Thu Oct 12 20:06:54 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16179.  
  16180.     * lread.c (complete_filename_p): New function which replaces
  16181.     absolute_filename_p.   This one doesn't consider "~" valid.
  16182.  
  16183. Thu Oct 12 02:41:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16184.  
  16185.     * buffer.c: Comment fix.
  16186.  
  16187. Wed Oct 11 15:37:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16188.  
  16189.     * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and
  16190.     Xatom_multiple.
  16191.  
  16192.     * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH.
  16193.  
  16194.     * process.c (child_sig):  Check pid <= 0 in case WNOHANG not defined.
  16195.  
  16196. Wed Oct 11 14:55:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16197.  
  16198.     * termcap.c (tgetent, gobble_line): Always store null at end of bfr.
  16199.     Allocate one extra byte at end to ensure space.
  16200.     Clean up order of arithmetic when updating ptrs into buffer
  16201.     after xrealloc.
  16202.  
  16203. Tue Oct 10 15:10:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16204.  
  16205.     * xfns.c (Fx_open_connection): Make all X Atoms here.
  16206.  
  16207.     * xterm.c: (x_iconify_screen):
  16208.     (x_iconify_screen): Cleaned up this code.
  16209.     (x_term_init): Removed warpmouseondeiconify stuff.
  16210.  
  16211. Mon Oct  9 09:52:06 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16212.  
  16213.     * xdisp.c (DoDsp): Make sure to call unhold_window_change after
  16214.     before all returns. 
  16215.  
  16216.     * minibuf.c (read_minibuf): Changed set_mouse_position to
  16217.     Fset_mouse_position.
  16218.  
  16219.     * xterm.c (XTread_socket): dumprectangle (whole screen) instead of
  16220.     DoDsp in ConfigureNotify event.
  16221.     (x_wm_set_size_hint): New calculations for size_hints.
  16222.  
  16223.     * screen.c (Fset_mouse_position): No more function
  16224.     set_mouse_position; use x_set_mouse_position directly.
  16225.  
  16226.     * xfns.c (x_set_cursor_color): Really decode Vx_cusor_fore_pixel
  16227.     if set.  Define new cursor before freeing old.  This may eliminate
  16228.     a server bug on the Sony.
  16229.     Also check for invisible cursors.
  16230.     (x_set_mouse_color): Check for invisible pointers.
  16231.     (x_resize_scrollbars): BLOCK_INPUT whilst doing operations.
  16232.     (adjust_scrollbars): Likewise.
  16233.  
  16234. Tue Oct  3 12:30:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16235.  
  16236.     * m/m-hp9000s800.h (XUNMARK): Delete definition.
  16237.     (S_IFLNK): Do not undef it.
  16238.  
  16239. Tue Oct  3 10:38:42 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16240.  
  16241.     * dispnew.c (get_display_line): If screen not visible, abort.
  16242.  
  16243. Mon Oct  2 23:48:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16244.  
  16245.     * xterm.c (x_make_screen_visible): Set s->visible, unset
  16246.     s->iconified for HAVE_X11.
  16247.  
  16248. Fri Sep 29 15:53:39 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16249.  
  16250.     * xterm.c (XTread_socket): Check screen s before proceeding for
  16251.     MapNotify event.
  16252.  
  16253.     * xterm.c: No longer sets the variable mouse_down_timestamp.
  16254.     * xfns.c: (Fx_get_mouse_event) mouse_timestamp
  16255.      (formerly mouse_down_timestamp) set here.  Also, mask out upper 9
  16256.      bits before doing XSET.
  16257.  
  16258. Thu Sep 28 10:59:29 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16259.  
  16260.     * xfns.c (Fx_geometry): Kludge for the case of position `-0'.
  16261.     (Fx_get_mouse_event): Also return the time stamp as last list elt.
  16262.     (Fx_color_display_p):
  16263.     (Fx_defined_color):
  16264.     (x_decode_color):
  16265.     (defined_color): Eliminate screen argument.
  16266.     (Fx_create_screen): No more ColorMap component to display.x.
  16267.     * xterm.h: Likewise.
  16268.  
  16269. Wed Sep 27 17:51:40 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16270.  
  16271.     * xfns.c (Fx_own_selection):
  16272.      (Fx_get_selection):
  16273.      (x_disown_selection): new funcs, which use new variables
  16274.      Vx_selection_value, x_begin_selection_own, mouse_down_timestamp,
  16275.      requestor_time, requestor_window, property_name, and
  16276.      x_begin_selection_own.
  16277.  
  16278.     * xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11.
  16279.     SelectionClear:
  16280.     SelectionRequest:
  16281.     SelectionNotify:  New events to handle the selection inter-client
  16282.     communication mechanism.
  16283.     ButtonPress: Set mouse_down_timestamp.
  16284.  
  16285. Tue Sep 26 17:21:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16286.  
  16287.     * xfns.c: New variable Vx_cursor_fore_pixel.
  16288.  
  16289. Sat Sep 23 03:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16290.  
  16291.     * lread.c (openp): Don't ! the result of `access'.
  16292.  
  16293. Fri Sep 22 00:29:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16294.  
  16295.     * fileio.c (Fread_file_name_internal): Try to work properly
  16296.     if dirs are specified using environment vars.  Preserve use of vars.
  16297.  
  16298. Thu Sep 21 02:55:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16299.  
  16300.     * fileio.c: Comment fix.
  16301.  
  16302. Mon Sep 18 11:26:55 1989  Joseph Arceneaux  (jla at spiff)
  16303.  
  16304.     * xfns.c (Fx_get_cut_buffer): XFree the data returned by
  16305.     XFetchBytes.
  16306.  
  16307. Sat Sep 16 01:49:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16308.  
  16309.     * fileio.c (Fwrite_region): Reinstall #if 0 around fstat.
  16310.  
  16311. Tue Sep 12 14:28:43 1989  Joseph Arceneaux  (jla at spiff)
  16312.  
  16313.     * xfns.c (defined_color): New function to test if a color is
  16314.     currently defined.
  16315.     (x_decode_color): Use defined_color.
  16316.     (Fx_defined_color): New subr.
  16317.     (select_visual): Select the appropriate X11 Visual.
  16318.     (Fx_open_connection): Use select_visual.  screen_visual now
  16319.     global and used when making emacs windows.
  16320.     (Fx_color_display_p): New subr.
  16321.  
  16322. Mon Sep 11 16:03:04 1989  Joseph Arceneaux  (jla at spiff)
  16323.  
  16324.     * fileio.c (Fwrite_region): fixed typo.
  16325.  
  16326.     * keyboard.c (Fdiscard_input): fixed typo.
  16327.  
  16328.     * window.c (Fnext_window): fixed typos.
  16329.  
  16330.     * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing
  16331.     the associated operations.
  16332.  
  16333.     * dispnew.c (init_display): 
  16334.     (Fsleep_for, Fsit_for): 
  16335.     * process.c (Faccept_process_output): 
  16336.     * keyboard.c ({clear,set}_waiting_for_input):
  16337.     (quit_throw_to_get_char, get_char): 
  16338.     * xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23
  16339.     (see below);  accept window changes most of the time.
  16340.  
  16341. Thu Sep  7 02:52:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16342.  
  16343.     * keyboard.c: Eliminate kbd_count, and use two pointers,
  16344.     kbd_fetch_ptr and kbd_store_ptr.  Assume buffer is empty when
  16345.     they are equal.  This should eliminate timing error.
  16346.     (kbd_buffer_store_char): Update kbd_store_ptr when storing.
  16347.     Don't ever fill the entire buffer.
  16348.     (kbd_buffer_get_char): Update kbd_fetch_ptr when fetching.
  16349.     (stuff_buffered_input): Likewise.
  16350.     (get_input_pending): Compare the two pointers.
  16351.  
  16352.     * fileio.c (Fwrite_region): Reenable using fstat rather than stat
  16353.     to get the modtime of the file just written, except on VMS and APOLLO.
  16354.  
  16355. Tue Sep  5 19:01:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16356.  
  16357.     * emacs.c, doc.c, filelock.c: Move Emacs header includes after
  16358.     system header includes, and #undef NULL in between.
  16359.  
  16360. Wed Aug 30 17:12:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16361.  
  16362.     * process.c [SYSV_PTYS]: If `titan', include some other files.
  16363.  
  16364. Tue Aug 29 15:48:22 1989  Joseph Arceneaux  (jla at spiff)
  16365.  
  16366.     * fileio.c: read-file-name replaced with new version, formerly
  16367.     called new-read-file-name.
  16368.  
  16369. Sat Aug 26 01:03:03 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16370.  
  16371.     * window.c (Fscroll_other_window): Use save-excursion (in effect)
  16372.     to save and restore current buffer and point.
  16373.     (window_scroll): If selected window's buffer isn't current,
  16374.     make it current, using save-excursion to go back.
  16375.  
  16376. Thu Aug 24 20:20:55 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16377.  
  16378.     * Use two variables to convey reason for synch process death,
  16379.     to avoid consing in signal handler.
  16380.     They are synch_process_death and synch_process_retcode.
  16381.     * callproc.c (Fcall_process): Use both variables.
  16382.     * process.c (child_sig): Set both variables.
  16383.  
  16384. Thu Aug 24 17:27:53 1989  Joseph Arceneaux  (jla at spiff)
  16385.  
  16386.     * xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints.
  16387.  
  16388. Thu Aug 24 16:49:11 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16389.  
  16390.     * buffer.c: Doc fix.
  16391.  
  16392. Thu Aug 24 12:12:09 1989  Joseph Arceneaux  (jla at spiff)
  16393.  
  16394.     * xfns.c (Fx_create_screen): X11 part.  Set height and width to 0
  16395.     before calling change_screen_size.
  16396.  
  16397.     * buffer.c (kill-all-local-variables): Changed doc string.
  16398.  
  16399. Wed Aug 23 17:35:48 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16400.  
  16401.     * dispnew.c (init_display): Call hold_window_change.
  16402.     (Fsleep_for, Fsit_for): Temporarily unhold, while waiting.
  16403.     * process.c (Faccept_process_output): Likewise.
  16404.     * keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold.
  16405.     (quit_throw_to_get_char, get_char): Rehold.
  16406.     * xdisp.c (DoDsp, message, message1):
  16407.     Unhold and rehold momentarily before any real work.
  16408.  
  16409.     * Makefile (CPP): Use $(CC).
  16410.  
  16411. Tue Aug 22 12:05:09 1989  Joseph Arceneaux  (jla at spiff)
  16412.  
  16413.     * xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask,
  16414.     Vx_pointer_shape.
  16415.  
  16416. Mon Aug 21 23:47:00 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16417.  
  16418.     * alloc.c (malloc_warning): Do nothing if ignore_warnings.
  16419.     (init_alloc_once): Set ignore_warnings while initializing allocation.
  16420.  
  16421.     * buffer.c: Doc fix.
  16422.  
  16423. Mon Aug 21 17:47:56 1989  Joseph Arceneaux  (jla at spiff)
  16424.  
  16425.     * xterm.c (x_calc_absolute_position): New function to calculate
  16426.     positive screen position.
  16427.     (x_set_position): Use it.
  16428.     (x_reset_cursor): No longer exists.
  16429.  
  16430.     * xfns.c (x_set_mouse_color): Reset the cursor even if there's no
  16431.     X window.
  16432.     (x_figure_window_size): Use x_calc_absolute_position.
  16433.     (x_set_mouse_color): Rewrote this function.  Always set cursor and
  16434.     its color.  If the window exists, then attach the cursor to it.
  16435.     No longer uses x_reset_cursor.
  16436.     (x_create_window):
  16437.     (x_set_background):
  16438.     (x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor.
  16439.  
  16440. Fri Aug 18 17:00:47 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16441.  
  16442.     * vmsfns.c: Define PRV$V_... syms if prvdef.h does not.
  16443.  
  16444. Fri Aug 18 15:32:13 1989  Joseph Arceneaux  (jla at spiff)
  16445.  
  16446.     * xfns.c (Fx_geometry): New subr.
  16447.     (x_figure_window_size): Don't worry about "geometry" here anymore;
  16448.     now done in x-win.el.
  16449.     (x_icon): Look in parms for iconic-startup rather than in variable.
  16450.  
  16451. Wed Aug 16 16:27:40 1989  Joseph Arceneaux  (jla at spiff)
  16452.  
  16453.     * xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it
  16454.     doesn't exist.  Also set scrollbar size only if actually creating
  16455.     one.
  16456.     (x_set_name): Don't do anything if the X window doesn't exist.
  16457.     Set the icon name as well.
  16458.     (x_window): Set the class hints for the window.
  16459.  
  16460. Wed Aug 16 14:47:10 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16461.  
  16462.     * lread.c (Fload): Fix unterminated comment.
  16463.  
  16464.     * scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20
  16465.     with 1/4 of average length of lines.
  16466.  
  16467. Sun Aug 13 18:27:40 1989  Joseph Arceneaux  (jla at spiff)
  16468.  
  16469.     * ymakefile: Do ${make} for oldXMenu.
  16470.  
  16471. Sun Aug 13 17:24:12 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16472.  
  16473.     * eval.c: Doc fix.
  16474.  
  16475. Sat Aug 12 13:18:00 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16476.  
  16477.     * emacs.c (main): Check for failure opening -t device.
  16478.     Fatal error if terminal isn't a real terminal.
  16479.  
  16480.     * window.c (Fscroll_other_window): Let Vother_window_scroll_buffer
  16481.     specify a buffer to scroll.
  16482.  
  16483. Fri Aug 11 21:24:19 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16484.  
  16485.     * dispnew.c: Handle BROKEN_FIONREAD as in other files.
  16486.  
  16487. Wed Aug  9 12:55:15 1989  Joseph Arceneaux  (jla at spiff)
  16488.  
  16489.     * ../oldXMenu/Makefile: Removed all the unneccessary X stuff.
  16490.  
  16491. Mon Aug  7 22:08:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16492.  
  16493.     * fileio.c (barf_or_query_if_file_exists): When signalling,
  16494.     provide the expected args for a file-error.
  16495.  
  16496. Sun Aug  6 18:04:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16497.  
  16498.     * process.c: Let NEED_BSDTTY control include of bsdtty.h.
  16499.  
  16500.     * process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY,
  16501.     and we need it, try fcntl.h.
  16502.  
  16503.     * s-bsd*.h, s-rtu.h, s-umax.h, s-unipl*.h: Define HAVE_UNION_WAIT.
  16504.     * m-stride.h: Likewise.
  16505.     * process.c: Decide which type to use with `wait'
  16506.     according to HAVE_UNION_WAIT.  If WAITTYPE already defined,
  16507.     assume everything all set up for this.
  16508.  
  16509.     * m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES,
  16510.     define WAITTYPE and WRETCODE, and include sys/wait.h.
  16511.  
  16512. Sat Aug  5 17:20:09 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16513.  
  16514.     * callproc.c (child_setup): Get rid of junk in #if 0.
  16515.  
  16516. Thu Aug  3 02:20:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16517.  
  16518.     * abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion.
  16519.     (Fexpand_abbrev): Eliminate abbrev length limit; use alloca.
  16520.     Eliminate redundant tests, always true.
  16521.     Record positions of both start and end of abbrev.
  16522.     Handle whitespace following the abbrev, before point.
  16523.  
  16524.     * callproc.c (Fcall_process_region): Use unwind-protect to delete
  16525.     temp file.
  16526.  
  16527.     * lread.c (load_unwind): Free the pointer-word malloc'd in Fload.
  16528.  
  16529. Wed Aug  2 23:24:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16530.  
  16531.     * emacs.c (Fdump_emacs): Doc fix.
  16532.  
  16533. Wed Aug  2 11:24:08 1989  Joseph Arceneaux  (jla at spiff)
  16534.  
  16535.     * xfns.c: Reorganized several functions to be in same order as the
  16536.     enum list.
  16537.     (x_set_border_color): For X11, don't set pix to -1 for
  16538.     gray values.
  16539.     (Fx_create_screen): Simplified this function even more.
  16540.  
  16541. Mon Jul 31 15:01:50 1989  Joseph Arceneaux  (jla at spiff)
  16542.  
  16543.     * keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map.
  16544.  
  16545.     * xfns.c (x_set_mouse_color):
  16546.     (x_set_cur): No need to redraw display after doing these.
  16547.  
  16548.     (Fx_get_mouse_event): Accept motion events.
  16549.     (x11_encode_mouse_button): Encoding a la X11, except for one
  16550.     kludge.  This is used only for motion events.
  16551.  
  16552.     * xterm.c (XTread_socket): Handle motion eveots.
  16553.     
  16554. Wed Jul 26 09:12:23 1989  Joseph Arceneaux  (jla at spiff)
  16555.  
  16556.     * xfns.c (Fx_create_screen): I couldn't take it any more, the
  16557.     ugliness of this routine offended me too deeply.  It is now
  16558.     completely rewritten for X11 and uses subroutines:
  16559.     (x_figure_window_size)
  16560.     (x_create_window)
  16561.     (x_icon)
  16562.     (x_make_gc)
  16563.  
  16564.     (Fx_draw_rectangle):
  16565.     (Fx_erase_rectangle): New subrs.
  16566.  
  16567.     * m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and
  16568.     FSCALE to make loadst work correctly.
  16569.  
  16570. Mon Jul 24 10:53:13 1989  Joseph Arceneaux  (jla at spiff)
  16571.  
  16572.     * xfns.c (Fmodify_screen_parameters): Check s->output_method
  16573.     before looping through alist.
  16574.  
  16575.     (Fx_create_screen): Call x_default_parameter for font.
  16576.     Don't add the scrollbar widths when making the main window:  this
  16577.     is done when the scrollbar is actually made.
  16578.  
  16579.     (x_set_vertical_scrollbar): Set v_scrollbar_width here instead of
  16580.     in install_vertical_scrollbar.  Also, pass that function macros
  16581.     PIXEL_WIDTH, PIXEL_HEIGHT as args.
  16582.  
  16583.     (x_set_horizontal_scrollbar): Likewise.
  16584.  
  16585.     * xterm.c: (x_set_window_size): Don't call the things called
  16586.     anyway upon the ConfigureNotify event.
  16587.     (x_set_offset): Use the screen-size lisp variables for these
  16588.     calculations.
  16589.  
  16590.     * xterm.h: Added the screen parameter declarations from xfns.c for
  16591.     X11.
  16592.  
  16593. Fri Jul 21 12:43:46 1989  Joseph Arceneaux  (jla at spiff)
  16594.  
  16595.     * sysdep.c: Don't include sioctl.h on mips.
  16596.  
  16597.     * buffer.c  (Flist_buffers): Pass prefix as arg.
  16598.  
  16599.     * editfns.c (Finsert_char): Insert at most 256 chars at a whack.
  16600.  
  16601.     * xterm.c (x_draw_box): Moved cursor box right by one pixel.
  16602.  
  16603. Thu Jul 20 10:17:12 1989  Joseph Arceneaux  (jla at spiff)
  16604.  
  16605.     * xfns.c: New variable x_screen_visuals, set if Fx_open_display,
  16606.     to be used in screen-color-p.
  16607.  
  16608.     * process.c (create_process): Don't call setpgrp_of_tty here.
  16609.     Also, do setpgrp for USG regardless of HAVE_PTYS.
  16610.  
  16611.     * callproc.c (child_setup): Ignore argument set_pgrp and always do
  16612.     setpgrp_of_tty.
  16613.     (Fcall_process): Don't call setpgrp_of_tty here.
  16614.  
  16615.     * keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL
  16616.     before finalizing_kbd_macro_chars;
  16617.  
  16618. Wed Jul 19 11:45:34 1989  Joseph Arceneaux  (jla at spiff)
  16619.  
  16620.     * xfns.c (Fx_rebind_key): Completely rewrote this function for
  16621.     X11.
  16622.  
  16623. Thu Jul 13 10:56:24 1989  Joseph Arceneaux  (jla at spiff)
  16624.  
  16625.     * emacs.c:
  16626.     * process.c:
  16627.     * unexec.c:
  16628.     * m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX.
  16629.     * sysdep.c: Likewise.  Also, don't define our closedir if IBMAIX.
  16630.     * m/m-ibmps2-aix.h: New file.
  16631.  
  16632. Wed Jul 12 17:16:43 1989  Joseph Arceneaux  (jla at spiff)
  16633.  
  16634.     * xdisp.c (message, message1): If using x, but haven't mapped the
  16635.     window yet, use noninteractive output.
  16636.  
  16637.     * dispnew.c (Fredraw_display): Don't redraw a screen which is not
  16638.     visible.
  16639.  
  16640.     * xterm.c (x_set_window_size): Don't DoDsp if screen isn't visible.
  16641.  
  16642.     * xfns.c (x_set_mouse_color)
  16643.     (x_set_border_color)
  16644.     (x_set_cursor_color)
  16645.     (x_set_background_color)
  16646.     (x_set_foreground_color): Don't redraw when screen isn't visible.
  16647.  
  16648. Tue Jul 11 09:47:59 1989  Joseph Arceneaux  (jla at gluteus)
  16649.  
  16650.     * xterm.c (x_term_init, XTread_socket):  Use ConnectionNumber for
  16651.     both X10 and X11.  This is #defined for X10.
  16652.  
  16653.     * screen.c (Fset_screen_width, Fset_screen_height): These now take
  16654.     a SCREEN argument.
  16655.  
  16656. Mon Jul 10 20:36:58 1989  Joseph Arceneaux  (jla at gluteus)
  16657.  
  16658.     * xterm.c (x_set_window_size): Call x_wm_set_size_hint.
  16659.     (x_new_font): Don't call x_wm_set_size_hint.
  16660.  
  16661.     * xfns.c (x_set_internal_border_width): Don't call
  16662.     x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT.
  16663.  
  16664.     * screen.c, dispnew.c (Fset_screen_width, Fset_screen_height):
  16665.     These functions have moved to screen.c.
  16666.  
  16667. Fri Jul  7 12:05:26 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
  16668.  
  16669.     * eval.c (Ffuncall): Handle 6 arguments.  Also, print a nice error
  16670.     message if there are more than 6 args.
  16671.  
  16672.     * fns.c: (Fyes-or-no-p):
  16673.     * minibuf.c: (read_minibuf_unwind):
  16674.     (Fread_minibuffer):
  16675.     (Fread_no_blanks_input):
  16676.     (Fcompleting_read): Extra arg to read_minibuf.
  16677.  
  16678.     * callint.c (Fcall_interactively):
  16679.     * keyboard.c (Fexecute_extended_command):
  16680.     * minibuf.c: (Fread_command):
  16681.     (Fread_function):
  16682.     (Fread_variable):
  16683.     (Fread_buffer): Extra arg to Fcompleting_read.
  16684.  
  16685. Wed Jul  5 10:22:12 1989  Joseph Arceneaux  (jla at spiff)
  16686.  
  16687.     * minibuf.c (read_minibuf): New argument back_n is number of
  16688.     characters to back-up point by.
  16689.     (Fcompleting_read): Same.
  16690.     * fileio.c: (Fnew_read_file_name): New version of Fread_file_name
  16691.     using the above features.
  16692.     (Finsert_file_contents): Check for negative file length.
  16693.  
  16694. Mon Jul  3 14:57:22 1989  Joseph Arceneaux  (jla at spiff)
  16695.  
  16696.     * xfns.c: (x_pixel_width, x_pixel_height) New functions.
  16697.     * screen.c: (Fscreen_pixel_size): New subr.
  16698.  
  16699. Fri Jun 30 16:05:43 1989  Joseph Arceneaux  (jla at spiff)
  16700.  
  16701.     * xterm.c: Use invocation_name as argument to XGetDefaults.
  16702.  
  16703. Thu Jun 29 10:29:23 1989  Joseph Arceneaux  (jla at spiff)
  16704.  
  16705.     * xterm.c (x_error_handler) #ifdef sony_news use XDefaultError
  16706.     instead of XPrintDefaultError due to weirdness in Sony library.
  16707.     * xterm.c: Avoid infinite raise/lower, enter/leave cycle when both
  16708.     auto_raise and auto_lower are set by checking times between
  16709.     consecutive Enter events.
  16710.  
  16711. Tue Jun 27 17:15:16 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
  16712.  
  16713.     * screen.c: (Fselect_screen)
  16714.     * window.c: (Fselect_window) The previous strategy was bugging the
  16715.     lisp stuff, so these are now rewritten.
  16716.  
  16717. Mon Jun 26 15:36:00 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
  16718.  
  16719.     * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been
  16720.     removed.
  16721.     (losecursor):  This function now a #define in cm.h.
  16722.  
  16723.     * xterm.c (x_iconify_screen): Send message to root window to do
  16724.     this, as per latest Inter-Client Communications Conventions.  This
  16725.     is commented out until it's implemented by X.  For now, do it with
  16726.     the iconic_state hint.
  16727.     (x_deiconify_screen): For X11, just Map the window, as per the new
  16728.     ICCC.
  16729.     (x_make_screen_visible): Only handle visible and iconified screen
  16730.     elements for X10;  these variables are handled in event processing
  16731.     for X11.
  16732.     (x_make_screen_invisible): Send an UnmapNotify event to the root
  16733.     window to aprise the window manager of the change.
  16734.     (XTread_socket): Catch VisibilityNotify events.
  16735.  
  16736. Sun Jun 25 12:30:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16737.  
  16738.     * window.c (Fsplit_window): If horizontal, round left window size up.
  16739.  
  16740. Sat Jun 24 13:31:27 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16741.  
  16742.     * cm.h (cmplus): Improve formatting.
  16743.     Use losecursor when reach end of line, if losewrap.
  16744.  
  16745.     * cm.h: New fields to handle multi-line and multi-char motion,
  16746.     and both max and min cost for certain operations.
  16747.     * term.c (term_init): Init those fields.
  16748.  
  16749.     * term.c (clear_end_of_line_raw): Don't clear last char of last line
  16750.     if autowrap.
  16751.  
  16752.     * abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional.
  16753.  
  16754. Fri Jun 23 14:56:01 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16755.  
  16756.     * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp
  16757.     function x-color-screen-p in x-win.el.
  16758.     (x_set_cursor_color): New method:  first disallow same cursor as
  16759.     background, then if cursor not foreground, use it as cursor
  16760.     foreground.
  16761.  
  16762. Thu Jun 22 23:23:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16763.  
  16764.     * lisp.h (XPNTR): Don't define if already defined.
  16765.  
  16766. Thu Jun 22 18:08:11 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
  16767.  
  16768.     * screen.c: New subrs Ficonify_screen, Fdeiconify_screen,
  16769.     Fread_mouse_position, Fset_mouse_position.
  16770.  
  16771.     * xterm.c: New functions x_deiconify_screen, x_iconify_screen.
  16772.  
  16773. Thu Jun 22 17:41:11 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16774.  
  16775.     * window.c (Fsplit_window, change_window_height):
  16776.     Enforce minimum of 2 for window_min_width and window_min_height.
  16777.  
  16778. Thu Jun 22 15:45:03 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
  16779.  
  16780.     * dispnew.c (unhold_window_change): Don't set and unset in_display
  16781.     before and after calling change_screen_size.
  16782.  
  16783. Wed Jun 21 00:35:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16784.  
  16785.     * buffer.c (Fkill_buffer): Ignore errors deleting auto-save file.
  16786.     Delete only if delete-auto-save-files.
  16787.  
  16788.     * data.c (Fmake_local_variable): Don't change value if unbound.
  16789.  
  16790. Tue Jun 20 15:29:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16791.  
  16792.     * screen.c (Fselect_screen): Use x_set_mouse_position instead of
  16793.     x_enter_screen.
  16794.  
  16795.     * xterm.c (x_enter_screen): Deleted, now merged with
  16796.     * xfns.c (x_set_mouse_position): If the position is negative, use
  16797.     the center screen position.
  16798.  
  16799.     * data.c (swap_in_symval_forwarding): Declared tem1.
  16800.     (Fset): Changed variable name void to voide.  Also, set it to a C
  16801.     true/false, rather than Qt or Qnil.
  16802.  
  16803. Sat Jun 17 15:45:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16804.  
  16805.     * eval.c (Fdefvar): Operate on default value if sym is buffer-local.
  16806.     (Fdefconst): Likewise.
  16807.  
  16808.     * Allow buffer-local variables to be void in one buffer
  16809.     or in the default value.
  16810.     * data.c (swap_in_symval_forwarding): New function.
  16811.     (Fboundp, Fsymbol_value): Use that.
  16812.     (default_value): New function.
  16813.     (Fdefault_value): Use that.
  16814.     (Fdefault_boundp): New function, uses that.
  16815.  
  16816. Fri Jun 16 22:21:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16817.  
  16818.     * ymakefile: New variable OLDXMENU has filename of libXMenu.a
  16819.     as a target.  Make temacs depend on it.
  16820.  
  16821. Thu Jun 15 18:47:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16822.  
  16823.     * ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu.
  16824.     * xmenu.c: Get XMenu.h from sibling dir.
  16825.  
  16826.     * buffer.c (Fkill_buffer): Return t if buffer is killed.
  16827.     Delete auto-save file if any.
  16828.  
  16829. Fri Jun  9 15:42:44 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16830.  
  16831.     * window.c: initialize auto_new_screen to 0 (nil).
  16832.  
  16833.     * screen.c (make_screen): added auto_lower to the list of screen
  16834.     elements initialized.
  16835.     (make_minibuffer_screen): likewise.
  16836.  
  16837. Thu Jun  8 16:53:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16838.  
  16839.     * window.c (Fset_window_point): Don't lose if window's buffer is
  16840.     not current.
  16841.  
  16842. Thu Jun  8 15:18:30 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16843.  
  16844.     * xfns.c (Fx_open_connection): Added 9  Lisp variables
  16845.     defined    by the screen and server.
  16846.  
  16847. Thu Jun  8 12:51:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16848.  
  16849.     * m-pmax.h: New file.
  16850.  
  16851. Thu Jun  8 12:39:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16852.  
  16853.     * xfns.c: removed superfluous definition of gray_bits.
  16854.  
  16855. Wed Jun  7 21:57:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16856.  
  16857.     * m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS.
  16858.  
  16859. Wed Jun  7 16:14:41 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16860.  
  16861.     * emacs.c (Fkill_emacs): If under X, call
  16862.     Fx_close_current_connection.  This has fixed the "bad file" bug.
  16863.     * xfns.c (Fx_close_current_connection): Added this subr which for
  16864.     the moment serves only to close the X-connection when killing emacs.
  16865.  
  16866. Wed Jun  7 13:56:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16867.  
  16868.     * m-hp9000s800.h: Define NEED_BSDTTY here.
  16869.     * s-hpux.h: Not here.
  16870.  
  16871. Tue Jun  6 19:25:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16872.  
  16873.     * s/s-hpux.h: Define NEED_BSDTTY.
  16874.  
  16875. Tue Jun  6 13:11:58 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16876.  
  16877.     * xterm.c (x_new_selected_screen): Make the new selected_screen
  16878.     and it's selected_window's screen be the same.
  16879.     (x_enter_screen): Calculate the middle of the screen, and warp the
  16880.     mouse there.  Also, raise the screen before doing so.
  16881.  
  16882. Mon Jun  5 14:54:28 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
  16883.  
  16884.     * xterm.c (x_set_window_size):  If not already in DoDsp (checked
  16885.     with variable in_display) then DoDsp here.  Handles redisplay
  16886.     after screen configuration.
  16887.     (x_error_handler): Print out stuff about the error if we're in
  16888.     debug mode.
  16889.  
  16890.     * dispnew.c (change_screen_size):  No longer call DoDsp here.
  16891.  
  16892. Mon Jun  5 11:22:58 1989  Chris Hanson  (cph at kleph)
  16893.  
  16894.     * syntax.c (Fmodify_syntax_entry): Change documentation string to
  16895.     reflect earlier change to action of `p' syntax bit.
  16896.  
  16897. Sun Jun  4 17:30:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16898.  
  16899.     * lread.c (read1): Don't accept "" in middle of string.
  16900.  
  16901. Tue May 30 14:24:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16902.  
  16903.     * search.c (Freplace_match): If \N has nothing to insert,
  16904.     insert nothing.
  16905.  
  16906. Mon May 29 21:41:38 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  16907.  
  16908.     * xfns.c: (Fx_create_screen): If parms is nil and
  16909.     Vx_screen_defaults isn't, then use them.
  16910.     (Fdisplay_buffer): Call Fx_create_screen with Qnil.
  16911.  
  16912. Thu May 25 16:32:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16913.  
  16914.     * syntax.c (scan_lists): Once within a word, treat Squote like Sword.
  16915.  
  16916. Wed May 24 16:06:27 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16917.  
  16918.     * dispnew.c (change_screen_size): DoDsp if not pretend.
  16919.  
  16920. Tue May 23 22:18:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16921.  
  16922.     * search.c (skip_chars): Dumb error checking for \.
  16923.  
  16924. Mon May 22 16:30:08 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16925.  
  16926.     * screen.c (Fselect_screen): Under X, basically just warp the
  16927.     cursor into the desired screen.  The event handler will then do
  16928.     the right thing.
  16929.     (Frestore_screen_configuration): Don't set the mouse position.
  16930.  
  16931.     * window.c (Fselect_window):  If window's screen is not selected,
  16932.     call Fselecte_screen.
  16933.     (Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters
  16934.     as argument instead of nil.
  16935.  
  16936.     * keyboard.c (clear_waiting_for_input): Don't call
  16937.     x_new_selected_screen here.
  16938.  
  16939.     * xterm.c (XTread_socket): Add case slots for CirculateNotify and
  16940.     CirculateRequest events.
  16941.  
  16942. Sun May 21 15:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16943.  
  16944.     * doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap 
  16945.     in proper buffer.
  16946.  
  16947.     * keymap.c (Fapropos_internal): New Lisp function, old apropos
  16948.     but only returns a list.
  16949.  
  16950. Sat May 20 22:05:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16951.  
  16952.     * process.c (Fopen_network_stream): Don't set kill-without-query.
  16953.  
  16954. Fri May 19 16:54:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16955.  
  16956.     * xterm.c (x_new_selected_screen):  This now takes a struct screen
  16957.     pointer as paramter.
  16958.     * (XTread_socket): call x_new_selected_screen *before* dumpborder.
  16959.  
  16960. Tue May 16 17:01:02 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16961.  
  16962.     * xfns.c: (x_window_to_scrollbar): If the caller's not interested
  16963.     in the names--passing 0 for last two parameters--just return the
  16964.     screen pointer.
  16965.  
  16966.     * xterm.c (x_enter_screen):  Added this function for warping the
  16967.     pointer into a screen.
  16968.  
  16969. Tue May 16 16:23:22 1989  Chris Hanson  (cph at kleph)
  16970.  
  16971.     * syntax.c (scan_lists, scan_sexps_forward): Treat characters
  16972.     whose "prefix" bit is on as whitespace when they are encountered
  16973.     between expressions.  When they occur within expressions they are
  16974.     treated according to their syntax code.
  16975.  
  16976. Tue May 16 15:20:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16977.  
  16978.     * xterm.c: (x_new_selected_screen): Don't call Fselect_screen.
  16979.     Just do everything here.
  16980.  
  16981.     * window.c (Fselect_window): If the screen associated with the
  16982.     window is not selected, warp the mouse, cause an EnterNotify event
  16983.     which then causes the proper screen to become selected.  This does
  16984.     *not* call Fselect_screen.
  16985.  
  16986.     * screen.c (Fselect_screen):  Now this is *only* a lisp subr.  It
  16987.     just calls Fselect_window on the selected window of the screen.
  16988.  
  16989. Mon May 15 21:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16990.  
  16991.     * editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick,
  16992.     but maybe also increment save-tick.
  16993.  
  16994. Mon May 15 14:59:31 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16995.  
  16996.     * xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new
  16997.     macro in:
  16998.     * xterm.h: New macro XChangeWindowSize for both X10 and X11.
  16999.  
  17000.     * xfns.c (Fx_create_screen):  Use XCreateWindow instead of
  17001.     XCreateSimpleWindow to directly set some extra attributes.
  17002.  
  17003. Sun May 14 18:31:18 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17004.  
  17005.     * syntax.h (SYNTAX_PREFIX): New macro.
  17006.     * syntax.c (Fmodify_syntax_table): Handle `p'; set new flag.
  17007.     (describe_syntax): Describe new flag.
  17008.     (Fbackward_prefix_chars): Move back over such chars.
  17009.  
  17010.     * lread.c (read1): Dumb errors in last change.
  17011.  
  17012. Sat May 13 14:19:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17013.  
  17014.     * lread.c (read1): Error if EOF after `?' or in string.
  17015.  
  17016.     * sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg.
  17017.  
  17018. Fri May 12 17:56:48 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17019.  
  17020.     * s/s-usg5-3.h: Define HAVE_SYSVIPC?
  17021.  
  17022.     * alloc.c (Fmake_byte_code): If purifying, purecopy all elements.
  17023.  
  17024.     * ymakefile (LIBXMENU): Use -loldX.
  17025.     Find libXMenu11.a in special place.
  17026.  
  17027. Fri May 12 11:43:16 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17028.  
  17029.     * xfns.c (Fx_create_screen):  If user has specified
  17030.     `x-iconic-startup' then start emacs in iconic form.
  17031.     Look for icon position in `icon-left' and `icon-top', or use
  17032.     window postion.
  17033.  
  17034.     * xterm.c (x_term_init):  If server doesn't respond, use fatal
  17035.     instead of error.  Also tell user about -d option.
  17036.  
  17037. Wed May 10 16:37:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17038.  
  17039.     * sysdep.c (init_sys_modes, reset_sys_modes):
  17040.     Handle TIOCGLTC even if HAVE_TERMIO.
  17041.  
  17042.     * print.c (Qprint_escape_newlines): New variable.
  17043.     * minibuf.c (read_minibuf): Make it t locally in minibuffers.
  17044.  
  17045.     * fileio.c (Fcopy_file): Check for error on close.
  17046.  
  17047. Wed May 10 14:33:53 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
  17048.  
  17049.     * xfns.c (adjust_scrollbars):  Don't subtract 2 from
  17050.     h_scrollbar_height when calculating `length'.
  17051.  
  17052. Mon May  8 17:48:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17053.  
  17054.     * eval.c (call_debugger): Set entering_debugger.
  17055.     (find_handler_cause): Don't enter debugger if that's set.
  17056.     (Fbacktrace): Clear it; we are presumably in the debugger.
  17057.  
  17058.     * m/m-sps7.h: New file.
  17059.  
  17060. Mon May  8 17:37:55 1989  Joseph Arceneaux  (jla at rice-chex.ai.mit.edu)
  17061.  
  17062.     * xterm.c (XTread_socket_hook): For X11, on map and unmap events
  17063.     check the window manager hints for iconification status.
  17064.  
  17065.     * xterm.c (x_make_widow_icon):  For X11, just request
  17066.     iconification of the window manager.
  17067.  
  17068. Mon May  8 16:09:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17069.  
  17070.     * m/m-clipper.h: New file.
  17071.  
  17072. Sun May  7 16:35:33 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
  17073.  
  17074.     * xfns.c (adjust_scrollbars):  Don't subtract 2 from
  17075.     v_scrollbar_width when calculating `height'.
  17076.  
  17077.     * xfns.c (x_set_foreground, x_set_border_pixel):  Finished color
  17078.     coordination.  Scrollbar border, thump-arrows, and slider pixmap
  17079.     linked with foreground color;  slider border with window border.
  17080.  
  17081. Sun May  7 14:41:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17082.  
  17083.     * lread.c (read1): Handle octal integers.
  17084.  
  17085.     * macros.c: Doc fix.
  17086.  
  17087.     * search.c (Fstore_match_data): Allow ints instead of markers.
  17088.  
  17089.     * keyboard.c (get_char_menu_prompt): New function; does menu prompting
  17090.     based on current keymaps.
  17091.  
  17092. Fri May  5 23:50:39 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  17093.  
  17094.     * xfns.c (Fx_set_face):  Rewrote the doc-string and renamed the
  17095.     parameters.
  17096.  
  17097. Fri May  5 17:13:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17098.  
  17099.     * unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR,
  17100.     KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE,
  17101.     HEADER_INCL_IN_TEXT.
  17102.  
  17103.     * unexec.c: Define IN_UNEXEC as flag for config.h.
  17104.  
  17105.     * keymap.c: Fapropos, etc., deleted.  (Now in Lisp code.)
  17106.  
  17107.     * eval.c (Fcommandp): Byte code object is command if interactive slot
  17108.     exists at all.
  17109.  
  17110. Fri May  5 15:46:50 1989  Chris Hanson  (cph at kleph)
  17111.  
  17112.     * process.c [HPUX && !NOMULTIPLEJOBS]: Include <bsdtty.h>, which
  17113.     defines TIOCGPGRP.
  17114.  
  17115. Fri May  5 00:36:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17116.  
  17117.     * data.c (Faref, Farray_length): Handle byte-code objects.
  17118.     * fns.c (Flength, concat): Likewise.
  17119.  
  17120.     * data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY.
  17121.  
  17122.     * m/m-hp9000s300.h: Undefine NOMULTIPLEJOBS.
  17123.  
  17124.     * keyboard.c (Fcommand_execute): Treat bytecode object as function.
  17125.  
  17126.     * callint.c (Fcall_interactively): Separate decoding of fcn
  17127.     from handling of it.
  17128.  
  17129.     * alloc.c (Fmake_byte_code): Renamed from Fmake_compiled_code.
  17130.     Make it pure if Vpurify_flag is non-nil.
  17131.     (Fpurecopy): Handle byte-code objects.
  17132.  
  17133.     * keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm.
  17134.     Do this before timeout for auto-save since the latter is longer.
  17135.     (request_echo): Function deleted.
  17136.     ({set,clear}_waiting_for_input): No need for echo_now, echo_flag.
  17137.  
  17138. Thu May  4 10:44:12 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  17139.  
  17140.     * xterm.c (x_lower_window, x_raise_window): Don't do anything if
  17141.     the window isn't visible.
  17142.  
  17143.     * xfns.c (x_set_foreground_color): Recolor the scrollbar windows
  17144.     appropriately, compatible with xterm.
  17145.  
  17146.     * xterm.c (x_reset_cursor): Do cursor recoloring.
  17147.  
  17148. Thu May  4 02:07:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17149.  
  17150.     * fns.c (Frandom): With number as arg, return value < that number.
  17151.  
  17152.     * sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get
  17153.     30 bits of significance.
  17154.  
  17155. Wed May  3 19:51:46 1989  Joe Arceneaux  (jla at gracilis.ai.mit.edu)
  17156.  
  17157.     * xterm.c (x_draw_box):  Use the cursor_gc.
  17158.     * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job
  17159.     with cursor colors, and use 0 line width for the cursor_gc.
  17160.  
  17161. Tue May  2 16:34:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17162.  
  17163.     * Begin changing representation of compiled functions.
  17164.     * lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector.
  17165.     (COMPILED_*): Names for slots in those vectors.
  17166.     * alloc.c (Fmake_compiled_code): New function.
  17167.     * eval.c (Fcommandp, Feval, Ffuncall, funcall_lambda):
  17168.     Handle fcns of type Lisp_Compiled.
  17169.     (Fcommandp, Fapply): Avoid directly nested ifs.
  17170.     * print.c (print): Handle Lisp_Compiled objects.
  17171.     * callint.c (Fcall_interactively): likewise.
  17172.     * doc.c (Fdocumentation): likewise.
  17173.  
  17174.     * keyboard.c (Fopen_dribble_file): nil as arg means close it.
  17175.  
  17176.     * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c:
  17177.     * casefiddle.c, cmds.c, data.c, dired.c, dispnew.c, doc.c, editfns.c:
  17178.     * eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c:
  17179.     * keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c:
  17180.     * screen.c, search.c, syntax.c, undo.c, vmsfns.c:
  17181.     Many doc fixes.
  17182.  
  17183. Sun Apr 30 14:07:11 1989  Joseph Arceneaux  (jla at hobbes)
  17184.  
  17185.     * xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash.
  17186.     Fixed this.
  17187.  
  17188.     * xterm.c (XTread_socket): Don't check if server died under
  17189.     X11.  Temporary.
  17190.  
  17191. Sun Apr 30 14:22:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17192.  
  17193.     * window.c (Fdelete_other_windows): Bug getting top edge.
  17194.  
  17195. Sat Apr 29 17:18:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17196.  
  17197.     * keyboard.c (get_char): Auto save if enough time elapses.
  17198.     (auto_save_timeout): New Lisp variable.
  17199.  
  17200.     * xdisp.c (try_window, try_window_id): Set w->redo_mode_line
  17201.     if should show percentage instead of `Bot'.
  17202.  
  17203. Sat Apr 29 16:32:03 1989  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17204.  
  17205.     * xterm.c (x_term_init): Don't set visible bell, as it pre-empts
  17206.     .emacs control.
  17207.  
  17208. Wed Apr 26 22:50:22 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17209.  
  17210.     * doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable
  17211.     named internal-doc-file-name.
  17212.  
  17213. Tue Apr 25 22:04:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17214.  
  17215.     * m-news.h: m-news800.h renamed.
  17216.     Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG.
  17217.     Removed SEGMENT_MASK and sigmask.
  17218.     LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too.
  17219.     Define m68000 if not defined.
  17220.  
  17221. Mon Apr 24 01:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17222.  
  17223.     * ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib.
  17224.  
  17225.     * sysdep.c: Unconditionally include sys/ioctl.h.
  17226.  
  17227.     * m/m-mips.h [USG]: Define LIBS_TERMCAP.
  17228.     If HAVE_X11, define HAVE_VFORK.
  17229.  
  17230. Sun Apr 23 00:47:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17231.  
  17232.     * m/m-altos.h: Use termcap, not terminfo.
  17233.     Define COFF_ENCAPSULATE if using gcc.
  17234.     Use built-in alloca if using gcc.
  17235.     Define PURESIZE.
  17236.  
  17237.     * lread.c (absolute_filename_p): On ALTOS, @ means absolute.
  17238.  
  17239.     * process.c: Missing #endif.
  17240.     * fileio.c (Finsert_file_contents): Define `p' for last change.
  17241.     * buffer.c, floatfns.c: Typos in DEFUN doc strings.
  17242.     * keyboard.c: Typo in DEFVAR_LISP doc string.
  17243.  
  17244.     * window.c (Fdelete_other_windows): Fix confusion about type of W.
  17245.  
  17246. Sat Apr 22 19:35:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17247.  
  17248.     * ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE.
  17249.  
  17250.     * xterm.c (XTflash): Draw the bars here.
  17251.     (x_invert_screen): Change to invert entire window.
  17252.     (stufflines): Changed args to XClearArea.
  17253.     (XTread_socket): Clean up handling of KeyPress events.
  17254.     For LeaveWindow, ignore uninteresting ones and handle autolower.
  17255.     For FocusIn, ignore if unknown window, and handle autoraise.
  17256.     For MotionNotify, add real handling for X11.
  17257.     For ConfigureNotify, count width of scroll bars.
  17258.     Don't call change_screen_size redundantly; ignore linked expose events.
  17259.     Update left and top pos if nec.
  17260.     For button events, ignore if not in known window or scrollbar.
  17261.     (x_new_selected_screen): Takes screen as arg.
  17262.     (x_error_handler): Arg type different for X11.
  17263.     (x_set_window_size) [HAVE_X11]: Call change_screen_size
  17264.     before x_wm_set_size_hint.
  17265.     (x_make_window_visible): Make scroll bars visible too, if any.
  17266.     (x_lower_window): New fn.
  17267.     (x_wm_set_size_hint): Take account of width of scroll bars.
  17268.     Ior specified hint flags with those already set.
  17269.  
  17270.     * xterm.h (HSCROLL_HEIGHT): HSCROLL_WIDTH is renamed.
  17271.     (MAXWIDTH): Increased to 300.
  17272.     (MAXHEIGHT): Increased to 100.
  17273.     (DISPLAY_SCREEN_ARG): Remove parentheses.
  17274.     (ButtonReleased, WhichMouseButton): Delete definitions.
  17275.  
  17276.     * xmenu.c: Adapted to new X interface.  X11ONLY replaced with xDISPLAY.
  17277.     Many X11 conditionals removed.
  17278.  
  17279.     * xfns.c (x_set_cursor_color): Special case if matches foreground.
  17280.     (Fx_create_screen): Typo for HSCROLL_HEIGHT.
  17281.     Use BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT.
  17282.     Set PRETEND arg to change_screen_size.
  17283.     Delete gray_bits; this value made global.
  17284.     Don't call install_*_scrollbar here.
  17285.     (x_set_horizontal_scrollbar): Define this for real.
  17286.     (x_set_vertical_scrollbar): Corrent args to install_vertical_scrollbar.
  17287.     (install_vertical_scrollbar): New local slider_pixmap, and set it.
  17288.     Delete locals GC_values, temp_gc.
  17289.     Change arrow_width, arrow_height (appears to be undefined) to 16.
  17290.     Un-if-0 this code.
  17291.     Use border_pixel, not foreground_pixel, for scrollbar.
  17292.     (install_horizontal_scrollbar): Define this for real.
  17293.     (adjust_scrollbars): Handle horizontal scrollbar.
  17294.     Define XMoveResizeWindow as XConfigureWindow if X10 to simplify.
  17295.     (x_resize_scrollbars): Remove #if 0 from quick-exit case.
  17296.     Really handle horizontal scrollbar.
  17297.     Simplify using new macro.
  17298.     (Fx_get_mouse_event): Mostly ignore events other than buttons.
  17299.     Use many new macros to handle X10 and X11.
  17300.     (encode_mouse_button): New fn: encoding of which button, broken out.
  17301.  
  17302.     * xfns.c (left_arror_cursor, etc.): New vars.
  17303.     (x_screen_parm, init_x_parm_symbols, x_set_screen_param):
  17304.     Define X_PARM_AUTOLOWER.
  17305.  
  17306.     * xdisp.c (display_string, redisplay-window, DoDsp):
  17307.     Use SCREEN_WIDTH, SCREEN_HEIGHT.
  17308.  
  17309. Fri Apr 21 00:50:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17310.  
  17311.     * indent.c (compute_motion): Use SCREEN_WIDTH.
  17312.     * dispnew.c (update_line): Use SCREEN_WIDTH.
  17313.     (update_screen): Use SCREEN_HEIGHT.
  17314.  
  17315. Thu Apr 20 15:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17316.  
  17317.     * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and
  17318.     Vtemp_buffer_show_hook to ..._function.
  17319.  
  17320.     * keyboard.c: rename mouse_hook to mouse_event_function.
  17321.  
  17322.     * buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook
  17323.     renamed to -function.
  17324.  
  17325.     * fileio.c (Finsert_file_contents): Allow quit in read.
  17326.     (Fwrite_region): Allow quit in write.
  17327.  
  17328. Wed Apr 19 13:07:25 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17329.  
  17330.     * doprnt.c (doprnt): Comment out %b since sprintf can't do it.
  17331.  
  17332.     * Change X11 to HAVE_X11 everywhere.
  17333.  
  17334.     * m-sun3.h: Define C_SWITCH_MACHINE as -fsoft.
  17335.  
  17336. Tue Apr 18 00:18:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17337.  
  17338.     * process.c: Don't define wstopsig, wtersig if already defined.
  17339.  
  17340.     * sysdep.c [VMS] (sys_getenv): Copy the string before returning it.
  17341.  
  17342.     * m-alliant.h: Define `vector'.
  17343.  
  17344. Thu Apr 13 12:55:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17345.  
  17346.     * process.c (wait_reading_process_input) [sun]: If SIGIO failed
  17347.     to be sent, send it by hand.
  17348.  
  17349. Wed Apr 12 01:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17350.  
  17351.     * window.c (Fdelete_other_windows): recenter window to avoid scrolling.
  17352.  
  17353. Tue Apr 11 00:18:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17354.  
  17355.     * indent.c: Include screen.h.
  17356.  
  17357.     * indent.c (pos_tab_offset, Fvertical_motion): Compute internal width
  17358.     correctly and uniformly.
  17359.  
  17360.     * xdisp.c (try_window, try_window_id): Use exact internal width
  17361.     to update tab_offset.
  17362.     (try_window_id): pos_tab_offset value needs adjustment only if
  17363.     starting a line in middle of a character.
  17364.  
  17365. Sat Apr  8 16:38:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17366.  
  17367.     * sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h.
  17368.  
  17369. Thu Apr  6 11:52:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17370.  
  17371.     * eval.c (Fbacktrace): Set Vprint_level to 3 throughout.
  17372.  
  17373.     * fns.c (Fload_average): nlist data structure is funny on convex.
  17374.  
  17375.     * window.c (scroll_command): scroll at least 1 line in specd direction.
  17376.  
  17377.     * cm.c (calccost): NTABS was off by 1 sometimes; take account of
  17378.     the starting position modulo 8.
  17379.  
  17380.     * fileio.c (Fexpand_file_name): Don't simplify /../ at start of name.
  17381.  
  17382.     * callint.c: doc fixes.
  17383.  
  17384.     * process.c (create_process):
  17385.     On all USG systems, not just IRIS and AIX, don't pre-open pty's tty.
  17386.     Move the setpgrp done for USG (no real change).
  17387.     Tell child_setup to do a setpgrp.
  17388.     * callproc.c (child_setup): New arg says whether to setpgrp.
  17389.     Never setpgrp on USG.
  17390.     (Fcall_process): Tell child_setup not to setpgrp.
  17391.  
  17392.     * sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack
  17393.     TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO.
  17394.     Don't bother to undef these for XENIX.
  17395.  
  17396. Mon Apr  3 17:43:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17397.  
  17398.     * ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE.
  17399.  
  17400.     * m-sequent.h: Define HAVE_ALLOCA.
  17401.  
  17402. Sun Apr  2 12:03:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17403.  
  17404.     * term.c (term_init): Can't use scroll region if no abs positioning.
  17405.  
  17406. Sat Apr  1 00:51:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17407.  
  17408.     * process.c (Fopen_network_stream): close desc. if connect fails.
  17409.  
  17410. Fri Mar 31 17:49:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17411.  
  17412.     * minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL,
  17413.     not STRING.
  17414.  
  17415.     * keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN.
  17416.  
  17417. Wed Mar 29 09:13:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17418.  
  17419.     * term.c (term_init): Either ic or ip or im or IC => can insert chars.
  17420.  
  17421.     * minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure.
  17422.  
  17423. Thu Feb 23 07:03:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17424.  
  17425.     * m-convex.h: Undefine NO_ARG_ARRAY.
  17426.     Changed defns of DATA_SEG_BITS and XINT.
  17427.     Define alloca for GCC compilation.
  17428.  
  17429. Fri Feb 17 01:47:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17430.  
  17431.     * m-ibmrt-aix.h: Define BROKEN_FIONREAD.
  17432.  
  17433. Thu Feb 16 03:23:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17434.  
  17435.     * keymap.c (Fdefine_prefix_command): Set both value and fn defn,
  17436.     with separate syms specified for each purpose.
  17437.  
  17438. Wed Feb 15 22:34:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17439.  
  17440.     * callproc.c (Fcall_process): Open /dev/null with O_WRONLY.
  17441.  
  17442. Tue Feb 14 11:48:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17443.  
  17444.     * window.c (window_scroll): Allow scrolling to very end (empty screen)
  17445.     if that's exactly where we wanted to scroll to.
  17446.  
  17447. Sat Feb 11 01:14:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17448.  
  17449.     * data.c (Fkill_local_variable): New local to simplify big stmt.
  17450.  
  17451. Thu Feb  9 06:37:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17452.  
  17453.     * xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow.
  17454.  
  17455.     * sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]:
  17456.     Don't ignore BRK, and don't signal it.
  17457.  
  17458.     * process.c (pty): An IBMRTAIX conditional.
  17459.     (create_process): Another here.
  17460.  
  17461. Wed Feb  8 13:24:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17462.  
  17463.     * keymap.c (Fdefine_prefix_command): Use Ffset, not Fset.
  17464.  
  17465. Mon Feb  6 12:58:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17466.  
  17467.     * fileio.c (Fset_visited_file_modtime): New fn.
  17468.  
  17469.     * xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args.
  17470.  
  17471. Fri Feb  3 01:16:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17472.  
  17473.     * dispnew.c (Fsit_for): It accepts 3 args.
  17474.  
  17475. Thu Feb  2 23:07:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17476.  
  17477.     * xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent.
  17478.     (x_set_resize_hint): Call XSetResizeHint.
  17479.  
  17480.     * process.c: Declare interrupt_input.
  17481.  
  17482.     * sysdep.c (init_sys_modes): TIOCSTART, not TCSTART.
  17483.  
  17484. Sat Jan 28 15:39:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17485.  
  17486.     * xterm.h (struct x_display): `GC' renamed `gc' in all field names.
  17487.     Field `ColorMap' renamed to `color_map'.
  17488.     (face_gc_values): face_GC_values renamed.
  17489.  
  17490. Sat Jan 28 15:39:03 1989  Joe Arceneaux  (rms at sugar-bombs.ai.mit.edu)
  17491.  
  17492.     * xterm.h (face_GC): Var deleted.
  17493.     (struct x_display): New field face_GC.
  17494.     (VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here.
  17495.     (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars.  Eliminate them!
  17496.     (BLACK_PIX_DEFAULT): Typo in definition.
  17497.     (WHITE_PIX_DEFAULT): Typos in definitions; was the black default.
  17498.  
  17499.     * xterm.c: Include ioctl.h only if BSD.
  17500.     Include termio.h otherwise.
  17501.     (XMapWindow) [X11]: Typo in definition.
  17502.     (METABIT): New definition; maybe not needed.
  17503.     (hostname, id_name, invocation_name, Vcommand_line_args): New vars
  17504.     declared for main icon title.
  17505.     (x_debug): Init to 1 if XDEBUG defined.
  17506.     (dumpglyfs) [X11]: Changed args to XDrawImageString.
  17507.     If debugging, do XFlushQueue.
  17508.     Use screen's face_gc rather than old global one.
  17509.     (XTflash) [not BSD]: avoid `struct itimerval'; use `alarm'.
  17510.     (events): New table of event type names.
  17511.     (XTread_socket): EVENT is now an XEvent even on x10.
  17512.     Translate modifier key 1 into meta-bit.
  17513.     For EnterNotify event, don't dumpborder or x_new_selected_screen
  17514.     if there is an x_focus_screen.
  17515.     For LeaveNotify event, don't ignore due to nonzero subwindow.
  17516.     For ConfigureNotify, change screen size.
  17517.     Do `select' check for SIGHUP only if HAVE_SELECT.
  17518.     (x_new_selected_screen): An arg, SCREEN.
  17519.     (x_display_cursor): dumpglyfs args changed.
  17520.     (x_draw_box): Add GC arg to XDrawRectangle; change other args.
  17521.     (clear_cursor): Change args to XClearArea.
  17522.     (dumpborder): check x_input_screen, not selected_screen.
  17523.     (x_text_icon): For X11, new arg to XGetDefault.
  17524.     Cast values stored in icon_label.
  17525.     (x_term_init): Hair to calculate name for icon.
  17526.     Don't init_sigio unless SIGIO defined.
  17527.     Call Fset_input_mode.
  17528.     For X11, new arg to XGetDefault.
  17529.     Set _Xdebug if debugging.
  17530.     (x_new_font) Use XGetFont.
  17531.     Get GC values from the screen structure.
  17532.     (x_reset_cursor): Don't call XRecolorCursor.
  17533.     (x_set_window_size): Call x_wm_set_size_hint, not x_set_size_hint.
  17534.     (x_set_resize_hint): For X11, call x_wm_set_size_hint.
  17535.     (x_wm_set_size_hint, x_wm_set_window_state, x_wm_set_icon_pixmap):
  17536.     (x_wm_set_icon_position): New fns for X11.
  17537.  
  17538.     * xfns.c: For X11, include Xutil.h
  17539.     (VSCROLL_WIDTH): Moved to xterm.h.
  17540.     (face_GC): Don't declare it.
  17541.     (id_name): Declare this.
  17542.     (x_decode_color): Check `white' and `black' first of all.
  17543.     (x_set_foreground_color) [X11]: Reset foreground and background.
  17544.     (x_set_background_color) [X11]: Missing arg to XSetWindowBackground.
  17545.     (x_set_cursor_color) [X11]: Reset foreground and background.
  17546.     (x_read_mouse_position) [X11]: Changed call to XQueryPointer.
  17547.     (x_set_mouse_position) [X11]: Add args to XWarpPointer.
  17548.     (Fx_create_screen): Set some temporary geometry parms at the beginning.
  17549.     For X11, changed setup of iconidentity, and implement rubber-banding.
  17550.     For X11, implement merging individual geometry parms.
  17551.     For X11, changed args to XCreateSimpleWindow.
  17552.     For X11, call x_wm_set_size_hint.
  17553.     Specify name when creating icon.
  17554.     Don't call XSetForeground, XSetBackground before making border tile.
  17555.     New var `cursor_bits'.  Init the screen's GC's.
  17556.  
  17557.     * screen.c (Frubber_band_rectangle): For X11, just return nil.
  17558.  
  17559. Tue Jan 24 01:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17560.  
  17561.     * buffer.c (Fbuffer_modified_tick): New fn.
  17562.  
  17563.     * window.c (Fnext_window): Accept 3 args from Lisp.
  17564.  
  17565. Mon Jan 23 16:39:36 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17566.  
  17567.     * sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD.
  17568.  
  17569. Fri Jan 20 14:26:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17570.  
  17571.     * sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC.
  17572.  
  17573. Thu Jan 19 03:04:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17574.  
  17575.     * process.c (wait_reading_process_input): New 2nd arg is extra usecs.
  17576.     All callers changed.
  17577.     * dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg
  17578.     counts in milliseconds.
  17579.  
  17580.     * buffer.c (Fkill_all_local_variables): Implement permanent locals.
  17581.  
  17582. Wed Jan 18 14:08:35 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17583.  
  17584.     * keymap.c (get_keyelt): Allow indirection within (STRING . DEFN).
  17585.  
  17586. Mon Jan 16 17:26:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17587.  
  17588.     * process.c (wait_reading_process_input): If select returns there
  17589.     is kbd input, but detect_input_pending can't find it, signal SIGIO.
  17590.     This may avoid the X loop-on-logout bug.
  17591.  
  17592.     * process.c (wait_reading_process_input): Flush fix_screen_hook.
  17593.     * termhooks.h, term.c: likewise.
  17594.  
  17595.     * xdisp.c (Fredraw_display): Don't do set_terminal_modes.
  17596.     * dispnew.c (Fredraw_screen): likewise.
  17597.  
  17598.     * eval.c (Fcond): If no args, return nil.
  17599.  
  17600. Sun Jan 15 15:41:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17601.  
  17602.     * eval.c (Fbacktrace_frame): Require one arg.  Return nil if too high.
  17603.  
  17604. Sat Jan 14 17:50:56 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17605.  
  17606.     * minibuf.c (read_minibuf): Set Vminibuf_scroll_window before
  17607.     switching windows.
  17608.  
  17609.     * xterm.c (XTread_socket): If no HAVE_SELECT, wait for input
  17610.     if new arg WAITP is non0.  Do this by not bothering to test for
  17611.     presence of input before reading some.
  17612.     Check for dead connection only if new arg EXPECTED is nonzero.
  17613.     All callers changed (keyboard and sysdep).
  17614.  
  17615.     * Simplify keyboard input.
  17616.     * keyboard.c (read_avail_input): Don't assume buffer is empty.
  17617.     Don't call get_input_pending; do FIONREAD here.
  17618.     Don't do FIONREAD if read_socket_hook, just tell it don't wait.
  17619.     Arg EXPECTED is passed to read_socket_hook.
  17620.     (input_available_signal): Use read_avail_input.
  17621.     (gobble_input): Use read_avail_input; arg EXPECTED passed along.
  17622.     (get_input_pending): let gobble_input do the work.
  17623.  
  17624.     * VMS keyboard input should have interrupt_input nonzero.
  17625.     * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set
  17626.     interrupt_input to 1.
  17627.     (get_input_pending): Special case deleted.
  17628.  
  17629. Fri Jan 13 01:21:00 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17630.  
  17631.     * fileio.c (auto_save_1): Always make auto-save file owner-writable.
  17632.  
  17633.     * eval.c (Fbacktrace_frame): New fn.
  17634.  
  17635.     * buffer.h: Define `fieldlist' field in a buffer.
  17636.     * buffer.c (Fregion_fields): Return list of fields overlapping
  17637.     specified region.
  17638.     (syms_of_buffer): New variable buffer-field-list.
  17639.     (reset_buffer): Clear the fieldlist.
  17640.     (init_buffer_once): Set up default and flag for buffer-field-list.
  17641.     * insdel.c (prepare_to_modify_buffer): If check_protected_fields,
  17642.     call Fregion_fields to detect error.
  17643.     Delete buffer_modify_hook.
  17644.  
  17645.     * callint.c (Fcall_interactively): Bind `command-debug-status'
  17646.     for each interactive command.
  17647.  
  17648.     * keyboard.c (command_loop_1): Count # commands read.
  17649.     (num_input_keys): New Lisp variable.
  17650.  
  17651.     * m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h,
  17652.     m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK.
  17653.     * unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET,
  17654.     just A_TEXT_SEEK.
  17655.     * unexconvex.c: Likewise.
  17656.  
  17657.     * unexconvex.c: machine/*.h unconditionally.
  17658.  
  17659.     * process.c (pty): Delete RTU, HPUX, IRIS alternatives to
  17660.     PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
  17661.     * s/s-hpux.h: Define PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
  17662.     * s/s-rtu.h: Likewise.
  17663.     * s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF.
  17664.  
  17665.     * sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order.
  17666.  
  17667. Thu Jan 12 18:28:29 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17668.  
  17669.     * data.c (Fdefault_value): If var set up with default value as current,
  17670.     take the current value slot, more up to date than the default slot.
  17671.  
  17672. Wed Jan 11 15:22:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17673.  
  17674.     * dispnew.c (init_display): don't handle SIGWINCH if using X.
  17675.  
  17676.     * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save.
  17677.     This avoids duplicate messages and allows M-x auto-save to turn it on.
  17678.  
  17679.     * lread.c (Fload): Look in Vafter_load_alist.
  17680.     (syms_of_load): Define after-load-alist.
  17681.  
  17682. Sat Jan  7 01:43:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17683.  
  17684.     * dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort.
  17685.  
  17686.     * syntax.c (scan_lists): Change Sendcomment case so that
  17687.     ignoring comments works even for newline-terminated comments.
  17688.  
  17689.     * minibuf.c (read_minibuf): Default Vminibuf_scroll_window
  17690.     to the window that was selected.
  17691.  
  17692. Fri Jan  6 02:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17693.  
  17694.     * fns.c (do_yes_or_no_p): Typo, call2 => call1.
  17695.  
  17696.     * eval.c (Fbacktrace): Each frame item should have a newline.
  17697.  
  17698.     * emacs.c (Fkill_emacs): Don't run hook if noninteractive.
  17699.  
  17700.     * eval.c: Define Vrun_hooks.
  17701.     (syms_of_eval): Initialize Vrun_hooks.
  17702.  
  17703.     * indent.c (Fmove_to_column): Use del_range; Fdelete_backward non ex.
  17704.  
  17705.     * ymakefile (objs, floatfns.o): Re-add this file.
  17706.     (LIBX): Install X11 case.
  17707.  
  17708.     * ymakefile (LIB_GCC): Now a cpp macro, like all other LIB_...
  17709.     Define null if not using GCC.
  17710.  
  17711.     * lread.c (unreadchar): New function to unread a char
  17712.     by stuffing it back into its stream.  Now unread chars
  17713.     work properly between multiple reads.
  17714.     (UNREAD): Now calls that function.
  17715.     (readchar): Don't us `unrch'; variable deleted.
  17716.     (various): Don't initialize `unrch'.
  17717.     (readevalloop): No need to save and restore `unrch'.
  17718.     (read1): Don't unread a -1.
  17719.  
  17720.     * keymap.c (get_keyelt): If keymap defn is (STRING . FOO),
  17721.     remove just FOO.  Will help HierarKey.
  17722.  
  17723. Thu Jan  5 14:49:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17724.  
  17725.     * unexmips.c [IRIS_4D]: Don't include fcntl.h.
  17726.     (unexec): Look for LIT8, LIT4 sections iff they are defined.
  17727.  
  17728.     * buffer.c (Fkill_all_local_variables): Force redisplay of mode lines.
  17729.  
  17730. Mon Jan  2 13:52:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17731.  
  17732.     * emacs.c (main): Do the setpgrp before handling -t.
  17733.  
  17734.     * keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook
  17735.     and suspend-resume-hook.
  17736.  
  17737.     * buffer.c (Fkill_buffer): Execute kill-buffer-hooks
  17738.     with buffer to be killed as current buffer.
  17739.  
  17740.     * buffer.c (count_modified_buffers): ModExist renamed.
  17741.  
  17742.     * emacs.c (Fkill-emacs): Execute kill-emacs-hook.
  17743.  
  17744.     * fileio.c (auto_save_1): Set auto_save_mode_bits from visited file.
  17745.     (Fwrite_region) [not VMS]: If auto-saving, write file with that mode.
  17746.  
  17747.     * fileio.c (Fwrite_region): If START is a string, write that string.
  17748.  
  17749. Sun Jan  1 14:00:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17750.  
  17751.     * lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit,
  17752.     use sign-test for XMARKBIT; value is then 1 or 0.
  17753.     Make XSETMARKBIT test 2nd arg for nonzeroness only.
  17754.  
  17755.     * m/m-mips.h: Last batch of changes are only for USG.
  17756.     (XMARKBIT, XSETMARKBIT): Deleted; the new default ones are good.
  17757.  
  17758.     * editfns.c (Fformat): Use princ for %s.
  17759.     New format %S converts everything (even strings) with prin1.
  17760.     * doprnt.c (doprnt): Treat %s like %S.
  17761.  
  17762.     * print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ.
  17763.  
  17764. Sat Dec 31 14:18:31 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17765.  
  17766.     * data.c (Fstring_to_int): Correct max # args.
  17767.  
  17768. Fri Dec 30 02:14:11 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17769.  
  17770.     * ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib.
  17771.  
  17772. Thu Dec 29 18:50:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17773.  
  17774.     * editfns.c: Many doc improvements.
  17775.  
  17776. Wed Dec 28 02:34:04 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17777.  
  17778.     * lisp.h (CHECK_NATNUM): New macro.
  17779.  
  17780.     * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column
  17781.     or change tab to spaces if necessary.
  17782.  
  17783.     * m/m-iris4d.h: (conditionally) delete DEFAULT_ENTRY_ADDRESS
  17784.     and change START_FILES and LIB_STANDARD.
  17785.  
  17786.     * s/s-iris3-6.h: Define sigblock as no-op.
  17787.  
  17788.     * m/m-mips.h: Cancel defn of VIRT_ADDR_VARIES, `static'.
  17789.     Undef SIGIO.  Define BROKEN_FIONREAD.
  17790.     Define various HAVE_... flags a la BSD.
  17791.     Add options, libraries for linking and compilation.
  17792.  
  17793.     * unexmips.c (unexec): Handle additional optional sections now likely.
  17794.     New scheme for recording what sections there are.
  17795.     Make handling of the LIT8,LIT4 sections conditional (not on IRIS).
  17796.  
  17797.     * fns.c (do_yes_or_no_p): New interface to Lisp function yes-or-no-p.
  17798.     Allows the user to redefine that function.
  17799.     All callers of Fyes_or_no_p changed.
  17800.  
  17801.     * data.c (Fmakunbound): Don't allow nil or t as arg.
  17802.  
  17803.     * m/m-orion105.h (LOAD_AVE_TYPE): Now `long'.
  17804.  
  17805. Tue Dec 27 23:44:41 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17806.  
  17807.     * dispnew.c (unhold_window_change):
  17808.     Don't signal SIGWINCH.  Instead, do pending size-changes here,
  17809.     while holding any new size-changes that arrive, so they become
  17810.     pending.  Loop around to get the new pending ones.
  17811.     (change_screen_size): Clear any previous pending size-change.
  17812.  
  17813.     * search.c (place): Was clipping to (1- (point-max)) by mistake.
  17814.  
  17815. Sat Dec 24 17:45:38 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17816.  
  17817.     * window.c (Fdelete_window): Give all this window's space
  17818.     to one adjacent sibling.
  17819.  
  17820. Fri Dec 23 01:16:18 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17821.  
  17822.     * keymap.c (describe_alist): Don't lose on non-cons-cell alist elts.
  17823.     (Fwhere_is_internal): Don't fail to step down the alist.
  17824.     (Faccessible_keymaps): Considerable confusion in alist case.
  17825.  
  17826.     * lread.c (Feval_current_buffer, Feval_region):
  17827.     Save and restore point as a marker, not a number.
  17828.     Don't restore it at all if printflag is t.
  17829.  
  17830.     * print.c (float_to_string): Mostly rewritten; output format
  17831.     is now a printf %-spec.
  17832.     (Qfloat_output_format): Doc changed to match.
  17833.  
  17834. Thu Dec 22 12:22:24 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17835.  
  17836.     * ymakefile (obj): Include floatfns.o.
  17837.     * data.c (syms_of_data): Fix typo Snumberp_or_marker_p.
  17838.  
  17839.     * Allow keymaps to have other keymaps as tails.
  17840.     Thus, one keymap can inherit from another.
  17841.     * keymap.c (Fwhere_is_internal): Ignore non-cons elements of alist.
  17842.     (Faccessible_keymaps): Support symbols as alist indices.
  17843.     Ignore alist elements that aren't conses.
  17844.  
  17845.     * m/m-sun386.h (LDAV_SYMBOL): Define as "avenrun" with no underscore.
  17846.  
  17847.     * lread.c (read_escape): Support ANSI C `\x...' hex escapes.
  17848.  
  17849.     * bytecode.c (Fbyte_code): fix jump operators for change in `pc'.
  17850.  
  17851. Wed Dec 21 19:39:27 1988  Joe Arceneaux  (jla at gracilis.ai.mit.edu)
  17852.  
  17853.     * ymakefile: Commented #endif LISP_FLOAT_TYPE.  Also changed
  17854.     the code pertaining to X11 to use the same files as X10.
  17855.  
  17856.     * bytecode.c (Fbyte_code): Declared unsigned char *pc.
  17857.  
  17858. Mon Dec 19 17:27:14 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17859.  
  17860.     * xterm.c: Finished a first cut of the X11 version.
  17861.  
  17862. Sun Dec 18 13:08:17 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17863.  
  17864.     * sysdep.c (select): `buf' is now unsigned char.
  17865.  
  17866. Fri Dec 16 18:00:36 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17867.  
  17868.     * m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP.
  17869.     Do define symbols for load average.
  17870.     Define COFF and ADJUST_EXEC_HEADER.
  17871.  
  17872. Fri Dec 16 13:56:51 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17873.  
  17874.     * sink.h,sinkmask.h: Same file now works for both X10 and X11.
  17875.     * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter.
  17876.  
  17877. Fri Dec 16 11:07:20 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17878.  
  17879.     * m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS
  17880.     since s-usg5-3.h no longer defines them.
  17881.  
  17882. Wed Dec 14 17:52:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17883.  
  17884.     * bytecode.el (Fbyte_code): Cache the pointer in the string
  17885.     to avoid recalculating it at each fetch.
  17886.     Also turn off the error check for stack overflow/underflow.
  17887.  
  17888. Wed Dec 14 14:51:24 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17889.  
  17890.     * xfns.c: Made the first cut for X11 version.
  17891.     * xterm.c: (x_reset_cursor) Did the X11 version.
  17892.  
  17893. Wed Dec 14 13:02:30 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17894.  
  17895.     * keyboard.c (Fexecute_mouse_event): Set Vmouse_event.  Doc fix.
  17896.     Run Vmouse_hook at the end.
  17897.     (syms_of_keyboard): Define var `mouse-hook'.
  17898.  
  17899. Tue Dec 13 10:55:27 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17900.  
  17901.     * term.c (insert_glyfs): Typo, was fetching G twice.
  17902.  
  17903. Sat Dec 10 17:37:28 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17904.  
  17905.     * keymap.c (describe_buffer_bindings): Print mouse bindings too.
  17906.     (describe_map): If have a chartab, use mouse-describe-key for prefixes.
  17907.     * keymap.c (describe_{map,map_tree,alist}, describe_vector):
  17908.     Extra arg mapping chars to their names.  Calls changed.
  17909.     * syntax.c (describe_syntax_1): Call changed.
  17910.  
  17911.     * keymap.c (Vglobal_mouse_map): Make it exist unconditionally.
  17912.  
  17913.     * keymap.c (apropos1): Clean up.
  17914.     Do where-is-internal only if there is a function definition.
  17915.     Use mouse-describe-key to turn mouse key sequences into strings.
  17916.     (Fwhere_is): Check the mouse map too;
  17917.     (Fwhere_is_internal): New arg is global map to use.
  17918.     All callers changed in keypad.c and doc.c.
  17919.     (where_is_string): New fn cvts result of Fwhere_is_internal to string.
  17920.  
  17921. Fri Dec  9 23:40:16 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17922.  
  17923.     * emacs.c (stack_bottom): New variable, set in main.
  17924.     * alloc.c (Fgarbage_collect): Save a copy of the entire stack contents.
  17925.  
  17926. Wed Dec  7 17:07:47 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17927.  
  17928.     * editfns.c (Funix_umask, Funix_sync): New functions.
  17929.  
  17930.     * process.c (Fsignal_process): New function.
  17931.  
  17932. Tue Dec  6 21:03:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17933.  
  17934.     * editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf.
  17935.  
  17936. Mon Dec  5 14:42:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17937.  
  17938.     * process.c (create_process): Take the usg's setpgrp and the close-and
  17939.     -open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY
  17940.     is always missing outside BSD.  Now the TIOCNOTTY conditional controls
  17941.     only the TIOCNOTTY.
  17942.  
  17943. Sun Dec  4 11:15:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17944.  
  17945.     * lread.c (Feval_current_buffer, Feval_region):
  17946.     If there is an error, don't restore original point.
  17947.  
  17948.     * s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2.
  17949.  
  17950.     * ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files
  17951.     to do special things.
  17952.  
  17953.     * m/m-ns16000.h: (LOAD_AVE_TYPE, etc.): Don't define them if USG.
  17954.     * m/m-ns16000.h [USG]: Define various macros differently.
  17955.     (munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net).
  17956.  
  17957.     * sysdep.c (reset_sys_modes): Don't output a CR here.
  17958.     * term.c (reset_terminal_modes): Do it here, but first
  17959.     do a newline if it's a magic cookie terminal.
  17960.  
  17961.     * sysdep.c (sys_suspend) [USG]: Use `nice' to set subshell pri. to 0.
  17962.  
  17963.     * sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA.
  17964.  
  17965.     * sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'.
  17966.  
  17967.     * keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru
  17968.     indirect definitions--so you can search for one.    
  17969.  
  17970.     * alloc.c, fns.c, search.c: Doc fix.
  17971.  
  17972. Thu Dec  1 16:46:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17973.  
  17974.     * process.c (read_process_output): Insert with insert_before_markers.
  17975.  
  17976.     * filelock.c (lock_file_1, lock_superlock):
  17977.     If USG, use chmod instead of fchmod.
  17978.  
  17979.     * environ.c (Fsetenv): Doc fix.
  17980.  
  17981. Fri Nov 25 13:41:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17982.  
  17983.     * eval.c (do_autoload): Verify FUNNAME is a symbol.
  17984.  
  17985. Thu Nov 17 23:26:03 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17986.  
  17987.     * fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts.
  17988.     * callint.c (Fcall_interactively): Calls changed.
  17989.  
  17990. Sat Oct  8 03:20:07 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17991.  
  17992.     * insdel.c (make_gap): Error if buffer size exceeds range of Lisp int.
  17993.  
  17994. Thu Oct  6 05:34:48 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17995.  
  17996.     * window.c (Fsplit_window): Prevent error in Fset_window_buffer.
  17997.  
  17998.     * sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid.
  17999.  
  18000.     * xdisp.c (message): Pass 0 as new arg to doprnt.
  18001.     * callint.c (Fcall_interactively): Likewise.
  18002.     * editfns.c (format1):
  18003.     * doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated.
  18004.  
  18005. Wed Oct  5 18:43:53 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18006.  
  18007.     * keyboard.c: If UNIPLUS, include ioctl.h.
  18008.  
  18009.     * sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS.
  18010.     * s-iris*.h: Define that flag.
  18011.  
  18012. Tue Oct  4 21:04:42 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18013.  
  18014.     * term.c (term_init): If have `im' capability, permit ins/del char
  18015.     even without `ic'.
  18016.  
  18017. Mon Oct  3 00:32:34 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  18018.  
  18019.     * m/m-hp9000s300.h: Conditionals for BSD vs HPUX.
  18020.  
  18021.     * ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE.
  18022.  
  18023. Fri Sep 30 15:48:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18024.  
  18025.     * editfns.c (Fformat): Allow nulls in the format.
  18026.     * doprnt.c (doprnt): likewise.  End of format string is new arg.
  18027.  
  18028. Wed Sep 28 15:25:37 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18029.  
  18030.     * m/m-7300.h: Undefine SHORTNAMES.  Supposedly newer Unix now.
  18031.  
  18032.     * print.c (print): Support new var print_length.
  18033.     (syms_of_print): Define Lisp var print-length.
  18034.     * eval.c (Fbacktrace): Print unevalled form with print_length = 3.
  18035.  
  18036.     * Makefile (tags): Add TAGS as alternate target.
  18037.     Process the files in ../lisp/term.
  18038.  
  18039. Tue Sep 27 00:55:47 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  18040.  
  18041.     * doprnt.c (doprnt): Handle %-20s.
  18042.     * editfns.c (Fformat): Likewise (make enough space for it).
  18043.  
  18044.     * minibuf.c (do_completion): If get "Complete but not unique" twice
  18045.     in a row, display all completions.  New var last_exact_completion.
  18046.  
  18047. Mon Sep 26 19:19:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18048.  
  18049. *    * dispnew.c (baud_rate): Now a Lisp variable, not a function.
  18050.     * termcap.c (tputs) [emacs]: Use baud_rate as the speed.
  18051.  
  18052. Mon Sep 19 00:06:16 1988  Richard Stallman  (rms at gluteus.ai.mit.edu)
  18053.  
  18054.     * window.c (Fset_window_configuration): Set deleted windows' buffer
  18055.     to nil, via new function delete_all_subwindows.
  18056.     * window.c (Fset_window_buffer): Reject deleted windows.
  18057.     * window.c (init_window_once): Init the ->buffer fields
  18058.     to satisfy error check in Fset_window_buffer.
  18059.  
  18060. *    * xmenu.c (Fx_popup_menu): 1st arg is now ((X Y) WINDOW).
  18061.  
  18062.     * process.c (child_sig): If synch process terminates, clear
  18063.     synch_process_pid and record synch_process_death.
  18064. *    * callproc.c (Fcall_process): return synch_process_death.
  18065.     Always set synch_process_pid and do it with SIGCHLD masked off.
  18066.     * sysdep.c (wait_for_termination) [subprocesses and not VMS]:
  18067.     Use alarms to check every second whether synch_process_pid is 0.
  18068.  
  18069. Sat Sep 17 17:14:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18070.  
  18071.     * xdisp.c (redisplay_window): If window-point is outside restriction
  18072.     then correct it in the window.
  18073.     * window.c (Fdelete_buffer): Don't change buffer's point to a value
  18074.     outside its restriction.
  18075.  
  18076.     * sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's
  18077.     garbaged bit.
  18078.  
  18079. Fri Sep 16 01:13:09 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  18080.  
  18081.     * keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix.
  18082.  
  18083.     * vmsproc.c: New file for VMS only.
  18084.     * callproc.c [VMS]: Omit Fcall_process and child_setup_tty.
  18085.     * emacs.c (main) [VMS]: Call init_vmsproc and syms_of_vmsproc.
  18086.  
  18087.     * lread.c (OBARRAY_SIZE): Change slightly to 509 (prime).
  18088.  
  18089. *    * keyboard.c, dispnew.c, term.c, xterm.c (meta_flag): MetaFlag renamed.
  18090.     * keyboard.c (Fset_input_mode): 3rd arg sets meta_flag.
  18091.     (syms_of_keyboard): Variable meta-flag deleted.
  18092.     * sysdep.c (init_sys_modes): Don't override parity settings
  18093.     if meta_flag is 0.
  18094.  
  18095. Thu Sep 15 23:29:12 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  18096.  
  18097. *    * search.c (Fsearch_forward, etc.): All buffer-search functions
  18098.     return new the value of point if they succeed.
  18099.  
  18100. Tue Sep 13 12:00:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18101.  
  18102.     * cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill.
  18103.  
  18104. Mon Sep 12 16:39:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18105.  
  18106.     * window.c (Fdelete_window): Put nil as buffer of the deleted window.
  18107.     This makes select-window get an error earlier.
  18108.  
  18109. Tue Sep  6 20:43:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  18110.  
  18111.     * search.c (search_buffer, string_match, looking_at):    
  18112.     Report matcher stack overflow as error, not just failure to match.
  18113.  
  18114.     * data.c (Fmake_local_variable): Add local variable to simplify
  18115.     too-complex expression.
  18116.  
  18117.     * fileio.c (Fdo_auto_save): No "file has shrunk" msg if < 5000 chars.
  18118.